Lines Matching +full:4 +full:mhz

29 	if (elen < 4) {  in ieee802_11_parse_vendor_specific()
59 switch (pos[4]) { in ieee802_11_parse_vendor_specific()
79 pos[4], (unsigned long) elen); in ieee802_11_parse_vendor_specific()
83 case 4: in ieee802_11_parse_vendor_specific()
140 elems->sae_pk = pos + 4; in ieee802_11_parse_vendor_specific()
141 elems->sae_pk_len = elen - 4; in ieee802_11_parse_vendor_specific()
159 if (elen > 4 && in ieee802_11_parse_vendor_specific()
160 (pos[4] == VENDOR_VHT_SUBTYPE || in ieee802_11_parse_vendor_specific()
161 pos[4] == VENDOR_VHT_SUBTYPE2)) { in ieee802_11_parse_vendor_specific()
1029 sta_info_len = *(pos + 4); in ieee802_11_parse_link_assoc_req()
1038 pos += sta_info_len + 4; in ieee802_11_parse_link_assoc_req()
1132 if (elem->datalen >= 4 && in ieee802_11_vendor_ie_concat()
1151 if (elem->datalen >= 4 && WPA_GET_BE32(elem->data) == oui_type) in ieee802_11_vendor_ie_concat()
1152 wpabuf_put_data(buf, elem->data + 4, elem->datalen - 4); in ieee802_11_vendor_ie_concat()
1310 if (os_strncmp(pos, "data", 4) == 0 && in hostapd_config_tx_queue()
1311 pos[4] >= '0' && pos[4] <= '9' && pos[5] == '_') { in hostapd_config_tx_queue()
1312 num = pos[4] - '0'; in hostapd_config_tx_queue()
1375 * @freq: Frequency (MHz) to convert
1587 if (freq > 56160 + 2160 * 4) in ieee80211_freq_to_channel_ext()
1701 case 32: /* channels 1..7; 40 MHz */ in ieee80211_chan_to_freq_us()
1702 case 33: /* channels 5..11; 40 MHz */ in ieee80211_chan_to_freq_us()
1708 case 22: /* channels 36,44; 40 MHz */ in ieee80211_chan_to_freq_us()
1709 case 23: /* channels 52,60; 40 MHz */ in ieee80211_chan_to_freq_us()
1710 case 27: /* channels 40,48; 40 MHz */ in ieee80211_chan_to_freq_us()
1711 case 28: /* channels 56,64; 40 MHz */ in ieee80211_chan_to_freq_us()
1715 case 4: /* channels 100-144 */ in ieee80211_chan_to_freq_us()
1716 case 24: /* channels 100-140; 40 MHz */ in ieee80211_chan_to_freq_us()
1721 case 25: /* channels 149,157; 40 MHz */ in ieee80211_chan_to_freq_us()
1722 case 26: /* channels 149,157; 40 MHz */ in ieee80211_chan_to_freq_us()
1723 case 30: /* channels 153,161; 40 MHz */ in ieee80211_chan_to_freq_us()
1724 case 31: /* channels 153,161; 40 MHz */ in ieee80211_chan_to_freq_us()
1757 case 4: /* channels 1..13 */ in ieee80211_chan_to_freq_eu()
1758 case 11: /* channels 1..9; 40 MHz */ in ieee80211_chan_to_freq_eu()
1759 case 12: /* channels 5..13; 40 MHz */ in ieee80211_chan_to_freq_eu()
1765 case 5: /* channels 36,44; 40 MHz */ in ieee80211_chan_to_freq_eu()
1766 case 6: /* channels 52,60; 40 MHz */ in ieee80211_chan_to_freq_eu()
1767 case 8: /* channels 40,48; 40 MHz */ in ieee80211_chan_to_freq_eu()
1768 case 9: /* channels 56,64; 40 MHz */ in ieee80211_chan_to_freq_eu()
1773 case 7: /* channels 100-132; 40 MHz */ in ieee80211_chan_to_freq_eu()
1774 case 10: /* channels 104-136; 40 MHz */ in ieee80211_chan_to_freq_eu()
1810 case 56: /* channels 1..9; 40 MHz */ in ieee80211_chan_to_freq_jp()
1811 case 57: /* channels 5..13; 40 MHz */ in ieee80211_chan_to_freq_jp()
1822 case 36: /* channels 36,44; 40 MHz */ in ieee80211_chan_to_freq_jp()
1823 case 37: /* channels 52,60; 40 MHz */ in ieee80211_chan_to_freq_jp()
1824 case 38: /* channels 52,60; 40 MHz */ in ieee80211_chan_to_freq_jp()
1825 case 41: /* channels 40,48; 40 MHz */ in ieee80211_chan_to_freq_jp()
1826 case 42: /* channels 56,64; 40 MHz */ in ieee80211_chan_to_freq_jp()
1827 case 43: /* channels 56,64; 40 MHz */ in ieee80211_chan_to_freq_jp()
1833 case 39: /* channels 100-140; 40 MHz */ in ieee80211_chan_to_freq_jp()
1835 case 44: /* channels 104-144; 40 MHz */ in ieee80211_chan_to_freq_jp()
1867 case 8: /* channels 1..9; 40 MHz */ in ieee80211_chan_to_freq_cn()
1868 case 9: /* channels 5..13; 40 MHz */ in ieee80211_chan_to_freq_cn()
1874 case 4: /* channels 36,44; 40 MHz */ in ieee80211_chan_to_freq_cn()
1875 case 5: /* channels 52,60; 40 MHz */ in ieee80211_chan_to_freq_cn()
1880 case 6: /* channels 149,157; 40 MHz */ in ieee80211_chan_to_freq_cn()
1892 /* Table E-4 in IEEE Std 802.11-2020 - Global operating classes */ in ieee80211_chan_to_freq_global()
1904 case 83: /* channels 1..9; 40 MHz */ in ieee80211_chan_to_freq_global()
1905 case 84: /* channels 5..13; 40 MHz */ in ieee80211_chan_to_freq_global()
1910 case 116: /* channels 36,44; 40 MHz; indoor only */ in ieee80211_chan_to_freq_global()
1911 case 117: /* channels 40,48; 40 MHz; indoor only */ in ieee80211_chan_to_freq_global()
1913 case 119: /* channels 52,60; 40 MHz; dfs */ in ieee80211_chan_to_freq_global()
1914 case 120: /* channels 56,64; 40 MHz; dfs */ in ieee80211_chan_to_freq_global()
1919 case 122: /* channels 100-140; 40 MHz */ in ieee80211_chan_to_freq_global()
1920 case 123: /* channels 104-144; 40 MHz */ in ieee80211_chan_to_freq_global()
1929 case 126: /* channels 149,157,165,173; 40 MHz */ in ieee80211_chan_to_freq_global()
1930 case 127: /* channels 153,161,169,177; 40 MHz */ in ieee80211_chan_to_freq_global()
1934 case 128: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80 MHz */ in ieee80211_chan_to_freq_global()
1935 case 130: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80 MHz */ in ieee80211_chan_to_freq_global()
1939 case 129: /* center freqs 50, 114, 163; 160 MHz */ in ieee80211_chan_to_freq_global()
1943 case 131: /* UHB channels, 20 MHz: 1, 5, 9.. */ in ieee80211_chan_to_freq_global()
1944 case 132: /* UHB channels, 40 MHz: 3, 11, 19.. */ in ieee80211_chan_to_freq_global()
1945 case 133: /* UHB channels, 80 MHz: 7, 23, 39.. */ in ieee80211_chan_to_freq_global()
1946 case 134: /* UHB channels, 160 MHz: 15, 47, 79.. */ in ieee80211_chan_to_freq_global()
1947 case 135: /* UHB channels, 80+80 MHz: 7, 23, 39.. */ in ieee80211_chan_to_freq_global()
1948 case 137: /* UHB channels, 320 MHz: 31, 63, 95, 127, 159, 191 */ in ieee80211_chan_to_freq_global()
1952 case 136: /* UHB channels, 20 MHz: 2 */ in ieee80211_chan_to_freq_global()
1982 * Returns: Frequency in MHz or -1 if the specified channel is unknown
2038 * 802.11-2020: Table E-4 - Global operating classes
2049 /* Operating classes with "80+" behavior indication in Table E-4 */ in is_80plus_op_class()
2162 R2S(4WAY_HANDSHAKE_TIMEOUT) in reason2str()
2396 { HOSTAPD_MODE_IEEE80211A, 115, 36, 48, 4, BW20, P2P_SUPP },
2399 { HOSTAPD_MODE_IEEE80211A, 118, 52, 64, 4, BW20, NO_P2P_SUPP },
2402 { HOSTAPD_MODE_IEEE80211A, 121, 100, 144, 4, BW20, NO_P2P_SUPP },
2405 { HOSTAPD_MODE_IEEE80211A, 124, 149, 161, 4, BW20, P2P_SUPP },
2406 { HOSTAPD_MODE_IEEE80211A, 125, 149, 177, 4, BW20, P2P_SUPP },
2411 * IEEE Std 802.11ax-2021, Table E-4 actually talks about channel center
2413 * and 135, but currently use the lowest 20 MHz channel for simplicity
2417 * channel center frequency index value, but it happens to be a 20 MHz
2422 * MHz channel on the 5 GHz band. 130 is identified with "80+", so this
2424 * value pair 133 and 135 is used to describe a 80+80 MHz channel on
2428 { HOSTAPD_MODE_IEEE80211A, 128, 36, 177, 4, BW80, P2P_SUPP },
2429 { HOSTAPD_MODE_IEEE80211A, 129, 36, 177, 4, BW160, P2P_SUPP },
2430 { HOSTAPD_MODE_IEEE80211A, 130, 36, 177, 4, BW80P80, P2P_SUPP },
2431 { HOSTAPD_MODE_IEEE80211A, 131, 1, 233, 4, BW20, P2P_SUPP },
2436 { HOSTAPD_MODE_IEEE80211A, 136, 2, 2, 4, BW20, NO_P2P_SUPP },
2438 /* IEEE P802.11be/D5.0, Table E-4 (Global operating classes) */
2545 if (elem->datalen >= 4 && in get_vendor_ie()
2568 *buf++ = attr_len + 4; in mbo_add_ie()
2704 if (buf + len - pos < 4) in add_multi_ap_ie()
2722 { 4, 121 },
2744 { 4, 81 },
2785 { 4, 116 },
2891 return 0; /* 20 MHz */ in center_idx_to_bw_6ghz()
2894 return 0; /* 20 MHz */ in center_idx_to_bw_6ghz()
2897 return 1; /* 40 MHz */ in center_idx_to_bw_6ghz()
2900 return 2; /* 80 MHz */ in center_idx_to_bw_6ghz()
2903 return 3; /* 160 MHz */ in center_idx_to_bw_6ghz()
2906 return 4; /* 320 MHz */ in center_idx_to_bw_6ghz()
2964 * the 40 MHz channels are formed with the channel pairs as (1,5), in get_6ghz_sec_channel()
2971 if (((channel - 1) / 4) % 2) in get_6ghz_sec_channel()
3036 nei_pos += 4; in ieee802_11_parse_candidate_list()
3115 if (flen > 4) in ieee802_11_rsnx_capab_len()
3116 flen = 4; in ieee802_11_rsnx_capab_len()
3186 * 2. P802.11ay defines the values of bw_config between 4 and 15. in ieee802_edmg_is_allowed()
3187 * (bw config % 4) will give us 4 groups inside bw_config definition, in ieee802_edmg_is_allowed()
3190 * Between this 4 groups, there is no subset relation - as a result of in ieee802_edmg_is_allowed()
3195 ((requested.bw_config % 4) > (allowed.bw_config % 4)) || in ieee802_edmg_is_allowed()
3209 case 83: /* channels 1..9; 40 MHz */ in op_class_to_bandwidth()
3210 case 84: /* channels 5..13; 40 MHz */ in op_class_to_bandwidth()
3214 case 116: /* channels 36,44; 40 MHz; indoor only */ in op_class_to_bandwidth()
3215 case 117: /* channels 40,48; 40 MHz; indoor only */ in op_class_to_bandwidth()
3219 case 119: /* channels 52,60; 40 MHz; dfs */ in op_class_to_bandwidth()
3220 case 120: /* channels 56,64; 40 MHz; dfs */ in op_class_to_bandwidth()
3224 case 122: /* channels 100-140; 40 MHz */ in op_class_to_bandwidth()
3225 case 123: /* channels 104-144; 40 MHz */ in op_class_to_bandwidth()
3230 case 126: /* channels 149,157,161,165,169,173; 40 MHz */ in op_class_to_bandwidth()
3231 case 127: /* channels 153..177; 40 MHz */ in op_class_to_bandwidth()
3233 case 128: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80 MHz */ in op_class_to_bandwidth()
3235 case 129: /* center freqs 50, 114, 163; 160 MHz */ in op_class_to_bandwidth()
3237 case 130: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80+80 MHz */ in op_class_to_bandwidth()
3239 case 131: /* UHB channels, 20 MHz: 1, 5, 9.. */ in op_class_to_bandwidth()
3241 case 132: /* UHB channels, 40 MHz: 3, 11, 19.. */ in op_class_to_bandwidth()
3243 case 133: /* UHB channels, 80 MHz: 7, 23, 39.. */ in op_class_to_bandwidth()
3245 case 134: /* UHB channels, 160 MHz: 15, 47, 79.. */ in op_class_to_bandwidth()
3246 case 135: /* UHB channels, 80+80 MHz: 7, 23, 39.. */ in op_class_to_bandwidth()
3248 case 136: /* UHB channels, 20 MHz: 2 */ in op_class_to_bandwidth()
3250 case 137: /* UHB channels, 320 MHz: 31, 63, 95, 127, 159, 191 */ in op_class_to_bandwidth()
3272 case 83: /* channels 1..9; 40 MHz */ in op_class_to_ch_width()
3273 case 84: /* channels 5..13; 40 MHz */ in op_class_to_ch_width()
3277 case 116: /* channels 36,44; 40 MHz; indoor only */ in op_class_to_ch_width()
3278 case 117: /* channels 40,48; 40 MHz; indoor only */ in op_class_to_ch_width()
3282 case 119: /* channels 52,60; 40 MHz; dfs */ in op_class_to_ch_width()
3283 case 120: /* channels 56,64; 40 MHz; dfs */ in op_class_to_ch_width()
3287 case 122: /* channels 100-140; 40 MHz */ in op_class_to_ch_width()
3288 case 123: /* channels 104-144; 40 MHz */ in op_class_to_ch_width()
3293 case 126: /* channels 149,157,165, 173; 40 MHz */ in op_class_to_ch_width()
3294 case 127: /* channels 153,161,169,177; 40 MHz */ in op_class_to_ch_width()
3296 case 128: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80 MHz */ in op_class_to_ch_width()
3298 case 129: /* center freqs 50, 114, 163; 160 MHz */ in op_class_to_ch_width()
3300 case 130: /* center freqs 42, 58, 106, 122, 138, 155, 171; 80+80 MHz */ in op_class_to_ch_width()
3302 case 131: /* UHB channels, 20 MHz: 1, 5, 9.. */ in op_class_to_ch_width()
3304 case 132: /* UHB channels, 40 MHz: 3, 11, 19.. */ in op_class_to_ch_width()
3306 case 133: /* UHB channels, 80 MHz: 7, 23, 39.. */ in op_class_to_ch_width()
3308 case 134: /* UHB channels, 160 MHz: 15, 47, 79.. */ in op_class_to_ch_width()
3310 case 135: /* UHB channels, 80+80 MHz: 7, 23, 39.. */ in op_class_to_ch_width()
3312 case 136: /* UHB channels, 20 MHz: 2 */ in op_class_to_ch_width()
3314 case 137: /* UHB channels, 320 MHz: 31, 63, 95, 127, 159, 191 */ in op_class_to_ch_width()