ath9k: Add p2p go NoA attribute
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / ath / ath9k / ath9k.h
index 6487c4769af4e9f2481370a45bbcbc2fd50d91bb..02f30980c31abe1358e8d283787ecb5817827d28 100644 (file)
@@ -362,6 +362,8 @@ struct ath_chanctx_sched {
        enum ath_chanctx_state state;
 
        u32 next_tbtt;
+       u32 switch_start_time;
+       unsigned int offchannel_duration;
        unsigned int channel_switch_time;
 };
 
@@ -472,6 +474,11 @@ struct ath_vif {
 
        /* P2P Client */
        struct ieee80211_noa_data noa;
+
+       /* P2P GO */
+       u8 noa_index;
+       u32 offchannel_start;
+       u32 offchannel_duration;
 };
 
 struct ath9k_vif_iter_data {