Lines Matching refs:op_class
1386 u8 op_class; in ieee80211_freq_to_chan() local
1389 &op_class, channel); in ieee80211_freq_to_chan()
1406 u8 *op_class, u8 *channel) in ieee80211_freq_to_channel_ext() argument
1424 *op_class = 83; in ieee80211_freq_to_channel_ext()
1426 *op_class = 84; in ieee80211_freq_to_channel_ext()
1428 *op_class = 81; in ieee80211_freq_to_channel_ext()
1439 *op_class = 82; /* channel 14 */ in ieee80211_freq_to_channel_ext()
1449 *op_class = 0; /* TODO */ in ieee80211_freq_to_channel_ext()
1474 *op_class = vht_opclass; in ieee80211_freq_to_channel_ext()
1476 *op_class = 116; in ieee80211_freq_to_channel_ext()
1478 *op_class = 117; in ieee80211_freq_to_channel_ext()
1480 *op_class = 115; in ieee80211_freq_to_channel_ext()
1493 *op_class = vht_opclass; in ieee80211_freq_to_channel_ext()
1495 *op_class = 119; in ieee80211_freq_to_channel_ext()
1497 *op_class = 120; in ieee80211_freq_to_channel_ext()
1499 *op_class = 118; in ieee80211_freq_to_channel_ext()
1512 *op_class = vht_opclass; in ieee80211_freq_to_channel_ext()
1514 *op_class = 126; in ieee80211_freq_to_channel_ext()
1516 *op_class = 127; in ieee80211_freq_to_channel_ext()
1518 *op_class = 125; in ieee80211_freq_to_channel_ext()
1531 *op_class = vht_opclass; in ieee80211_freq_to_channel_ext()
1533 *op_class = 122; in ieee80211_freq_to_channel_ext()
1535 *op_class = 123; in ieee80211_freq_to_channel_ext()
1537 *op_class = 121; in ieee80211_freq_to_channel_ext()
1548 *op_class = 0; /* TODO */ in ieee80211_freq_to_channel_ext()
1558 *op_class = 133; in ieee80211_freq_to_channel_ext()
1561 *op_class = 134; in ieee80211_freq_to_channel_ext()
1564 *op_class = 135; in ieee80211_freq_to_channel_ext()
1567 *op_class = 137; in ieee80211_freq_to_channel_ext()
1571 *op_class = 132; in ieee80211_freq_to_channel_ext()
1573 *op_class = 131; in ieee80211_freq_to_channel_ext()
1582 *op_class = 136; in ieee80211_freq_to_channel_ext()
1596 *op_class = 180; in ieee80211_freq_to_channel_ext()
1604 *op_class = 181; in ieee80211_freq_to_channel_ext()
1612 *op_class = 182; in ieee80211_freq_to_channel_ext()
1620 *op_class = 183; in ieee80211_freq_to_channel_ext()
1634 int sec_channel, u8 *op_class, u8 *channel) in ieee80211_chaninfo_to_channel() argument
1671 if (ieee80211_freq_to_channel_ext(freq, sec_channel, cw, op_class, in ieee80211_chaninfo_to_channel()
1718 static int ieee80211_chan_to_freq_us(u8 op_class, u8 chan) in ieee80211_chan_to_freq_us() argument
1720 switch (op_class) { in ieee80211_chan_to_freq_us()
1775 static int ieee80211_chan_to_freq_eu(u8 op_class, u8 chan) in ieee80211_chan_to_freq_eu() argument
1777 switch (op_class) { in ieee80211_chan_to_freq_eu()
1826 static int ieee80211_chan_to_freq_jp(u8 op_class, u8 chan) in ieee80211_chan_to_freq_jp() argument
1829 switch (op_class) { in ieee80211_chan_to_freq_jp()
1884 static int ieee80211_chan_to_freq_cn(u8 op_class, u8 chan) in ieee80211_chan_to_freq_cn() argument
1886 switch (op_class) { in ieee80211_chan_to_freq_cn()
1911 static int ieee80211_chan_to_freq_global(u8 op_class, u8 chan) in ieee80211_chan_to_freq_global() argument
1914 switch (op_class) { in ieee80211_chan_to_freq_global()
2005 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) in ieee80211_chan_to_freq() argument
2010 freq = ieee80211_chan_to_freq_us(op_class, chan); in ieee80211_chan_to_freq()
2016 freq = ieee80211_chan_to_freq_eu(op_class, chan); in ieee80211_chan_to_freq()
2022 freq = ieee80211_chan_to_freq_jp(op_class, chan); in ieee80211_chan_to_freq()
2028 freq = ieee80211_chan_to_freq_cn(op_class, chan); in ieee80211_chan_to_freq()
2033 return ieee80211_chan_to_freq_global(op_class, chan); in ieee80211_chan_to_freq()
2062 int is_dfs_global_op_class(u8 op_class) in is_dfs_global_op_class() argument
2064 return (op_class >= 118) && (op_class <= 123); in is_dfs_global_op_class()
2068 bool is_80plus_op_class(u8 op_class) in is_80plus_op_class() argument
2071 return op_class == 130 || op_class == 135; in is_80plus_op_class()
2817 global_op_class_from_country_array(u8 op_class, size_t array_size, in global_op_class_from_country_array() argument
2823 if (country_array[i].country_op_class == op_class) in global_op_class_from_country_array()
2831 u8 country_to_global_op_class(const char *country, u8 op_class) in country_to_global_op_class() argument
2854 return op_class; in country_to_global_op_class()
2857 g_op_class = global_op_class_from_country_array(op_class, size, in country_to_global_op_class()
2864 return g_op_class ? g_op_class : op_class; in country_to_global_op_class()
2868 const struct oper_class_map * get_oper_class(const char *country, u8 op_class) in get_oper_class() argument
2873 op_class = country_to_global_op_class(country, op_class); in get_oper_class()
2876 while (op->op_class && op->op_class != op_class) in get_oper_class()
2879 if (!op->op_class) in get_oper_class()
2950 bool is_6ghz_op_class(u8 op_class) in is_6ghz_op_class() argument
2952 return op_class >= 131 && op_class <= 137; in is_6ghz_op_class()
3230 int op_class_to_bandwidth(u8 op_class) in op_class_to_bandwidth() argument
3232 switch (op_class) { in op_class_to_bandwidth()
3293 enum oper_chan_width op_class_to_ch_width(u8 op_class) in op_class_to_ch_width() argument
3295 switch (op_class) { in op_class_to_ch_width()