Home
last modified time | relevance | path

Searched refs:twt_agrt (Results 1 – 3 of 3) sorted by relevance

/linux/net/mac80211/
H A Ds1g.c102 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in ieee80211_s1g_rx_twt_setup() local
105 twt->length < sizeof(twt->control) + sizeof(*twt_agrt)) in ieee80211_s1g_rx_twt_setup()
108 twt_agrt->req_type &= cpu_to_le16(~IEEE80211_TWT_REQTYPE_REQUEST); in ieee80211_s1g_rx_twt_setup()
112 twt_agrt->req_type &= in ieee80211_s1g_rx_twt_setup()
114 twt_agrt->req_type |= in ieee80211_s1g_rx_twt_setup()
144 struct ieee80211_twt_params *twt_agrt = (void *)twt->params; in ieee80211_s1g_tx_twt_setup_fail() local
145 u8 flowid = le16_get_bits(twt_agrt->req_type, in ieee80211_s1g_tx_twt_setup_fail()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c2236 struct ieee80211_twt_params *twt_agrt; in mt7915_mac_check_twt_req() local
2249 twt_agrt = (struct ieee80211_twt_params *)twt->params; in mt7915_mac_check_twt_req()
2252 if (!(twt_agrt->req_type & cpu_to_le16(IEEE80211_TWT_REQTYPE_IMPLICIT))) in mt7915_mac_check_twt_req()
2256 le16_to_cpu(twt_agrt->req_type)); in mt7915_mac_check_twt_req()
2257 mantissa = le16_to_cpu(twt_agrt->mantissa); in mt7915_mac_check_twt_req()
2258 duration = twt_agrt->min_twt_dur << 8; in mt7915_mac_check_twt_req()
2269 struct ieee80211_twt_params *twt_agrt) in mt7915_mac_twt_param_equal() argument
2271 u16 type = le16_to_cpu(twt_agrt->req_type); in mt7915_mac_twt_param_equal()
2283 if (f->duration == twt_agrt->min_twt_dur && in mt7915_mac_twt_param_equal()
2284 f->mantissa == twt_agrt->mantissa && in mt7915_mac_twt_param_equal()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c3148 struct ieee80211_twt_params *twt_agrt; in mt7996_mac_check_twt_req() local
3161 twt_agrt = (struct ieee80211_twt_params *)twt->params; in mt7996_mac_check_twt_req()
3164 if (!(twt_agrt->req_type & cpu_to_le16(IEEE80211_TWT_REQTYPE_IMPLICIT))) in mt7996_mac_check_twt_req()
3168 le16_to_cpu(twt_agrt->req_type)); in mt7996_mac_check_twt_req()
3169 mantissa = le16_to_cpu(twt_agrt->mantissa); in mt7996_mac_check_twt_req()
3170 duration = twt_agrt->min_twt_dur << 8; in mt7996_mac_check_twt_req()
3181 struct ieee80211_twt_params *twt_agrt) in mt7996_mac_twt_param_equal() argument
3183 u16 type = le16_to_cpu(twt_agrt->req_type); in mt7996_mac_twt_param_equal()
3195 if (f->duration == twt_agrt->min_twt_dur && in mt7996_mac_twt_param_equal()
3196 f->mantissa == twt_agrt->mantissa && in mt7996_mac_twt_param_equal()
[all …]