Home
last modified time | relevance | path

Searched refs:vht_oper (Results 1 – 8 of 8) sorted by relevance

/linux/net/mac80211/
H A Dspectmgmt.c81 struct ieee80211_vht_operation vht_oper; in validate_chandef_by_ht_vht_oper() local
107 vht_oper.center_freq_seg0_idx = in validate_chandef_by_ht_vht_oper()
109 vht_oper.center_freq_seg1_idx = center_freq2 ? in validate_chandef_by_ht_vht_oper()
117 vht_oper.chan_width = IEEE80211_VHT_CHANWIDTH_80MHZ; in validate_chandef_by_ht_vht_oper()
118 vht_oper.center_freq_seg1_idx = vht_oper.center_freq_seg0_idx; in validate_chandef_by_ht_vht_oper()
119 vht_oper.center_freq_seg0_idx += in validate_chandef_by_ht_vht_oper()
123 vht_oper.chan_width = IEEE80211_VHT_CHANWIDTH_80MHZ; in validate_chandef_by_ht_vht_oper()
126 vht_oper.chan_width = IEEE80211_VHT_CHANWIDTH_80MHZ; in validate_chandef_by_ht_vht_oper()
129 vht_oper.chan_width = IEEE80211_VHT_CHANWIDTH_USE_HT; in validate_chandef_by_ht_vht_oper()
134 le16_encode_bits(vht_oper.center_freq_seg1_idx, in validate_chandef_by_ht_vht_oper()
[all …]
H A Dutil.c2884 struct ieee80211_vht_operation *vht_oper; in ieee80211_ie_build_vht_oper() local
2888 vht_oper = (struct ieee80211_vht_operation *)pos; in ieee80211_ie_build_vht_oper()
2889 vht_oper->center_freq_seg0_idx = ieee80211_frequency_to_channel( in ieee80211_ie_build_vht_oper()
2892 vht_oper->center_freq_seg1_idx = in ieee80211_ie_build_vht_oper()
2895 vht_oper->center_freq_seg1_idx = 0x00; in ieee80211_ie_build_vht_oper()
2903 vht_oper->chan_width = IEEE80211_VHT_CHANWIDTH_80MHZ; in ieee80211_ie_build_vht_oper()
2904 vht_oper->center_freq_seg1_idx = vht_oper->center_freq_seg0_idx; in ieee80211_ie_build_vht_oper()
2906 vht_oper->center_freq_seg0_idx -= 8; in ieee80211_ie_build_vht_oper()
2908 vht_oper->center_freq_seg0_idx += 8; in ieee80211_ie_build_vht_oper()
2915 vht_oper->chan_width = IEEE80211_VHT_CHANWIDTH_80MHZ; in ieee80211_ie_build_vht_oper()
[all …]
H A Dcfg.c1320 const struct ieee80211_vht_operation *vht_oper = params->vht_oper; in ieee80211_calc_ap_he_and_lower() local
1328 vht_oper = (void *)params->he_oper->optional; in ieee80211_calc_ap_he_and_lower()
1346 if (vht_oper) { in ieee80211_calc_ap_he_and_lower()
1347 switch (vht_oper->chan_width) { in ieee80211_calc_ap_he_and_lower()
1363 ccfs0 = vht_oper->center_freq_seg0_idx; in ieee80211_calc_ap_he_and_lower()
1364 ccfs1 = vht_oper->center_freq_seg1_idx; in ieee80211_calc_ap_he_and_lower()
H A Dmlme.c196 const struct ieee80211_vht_operation *vht_oper = elems->vht_operation; in ieee80211_determine_ap_chan() local
338 } else if (!vht_oper || !elems->vht_cap_elem) { in ieee80211_determine_ap_chan()
346 vht_oper, ht_oper, in ieee80211_determine_ap_chan()
/linux/drivers/net/wireless/marvell/mwifiex/
H A D11ac.c297 struct ieee80211_vht_operation *vht_oper; in mwifiex_is_bss_in_11ac_mode() local
300 vht_oper = bss_desc->bcn_vht_oper; in mwifiex_is_bss_in_11ac_mode()
302 if (!bss_desc->bcn_vht_cap || !vht_oper) in mwifiex_is_bss_in_11ac_mode()
305 if (vht_oper->chan_width == IEEE80211_VHT_CHANWIDTH_USE_HT) in mwifiex_is_bss_in_11ac_mode()
H A Dtdls.c238 struct ieee80211_vht_operation *vht_oper; in mwifiex_tdls_add_vht_oper() local
277 vht_oper = (struct ieee80211_vht_operation *)pos; in mwifiex_tdls_add_vht_oper()
302 vht_oper->chan_width = IEEE80211_VHT_CHANWIDTH_80MHZ; in mwifiex_tdls_add_vht_oper()
305 vht_oper->chan_width = IEEE80211_VHT_CHANWIDTH_160MHZ; in mwifiex_tdls_add_vht_oper()
308 vht_oper->chan_width = IEEE80211_VHT_CHANWIDTH_80P80MHZ; in mwifiex_tdls_add_vht_oper()
311 vht_oper->chan_width = IEEE80211_VHT_CHANWIDTH_USE_HT; in mwifiex_tdls_add_vht_oper()
332 vht_oper->basic_mcs_set = cpu_to_le16(mcs_map_result); in mwifiex_tdls_add_vht_oper()
334 switch (vht_oper->chan_width) { in mwifiex_tdls_add_vht_oper()
348 vht_oper->center_freq_seg0_idx = in mwifiex_tdls_add_vht_oper()
/linux/include/net/
H A Dcfg80211.h1510 const struct ieee80211_vht_operation *vht_oper; member
/linux/net/wireless/
H A Dnl80211.c6673 if (op->datalen < sizeof(*bcn->vht_oper)) { in nl80211_calculate_ap_operation()
6677 bcn->vht_oper = (void *)op->data; in nl80211_calculate_ap_operation()