Home
last modified time | relevance | path

Searched refs:start_freq (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Dreg.c455 ath11k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath11k_reg_adjust_bw() argument
459 if (end_freq <= start_freq) in ath11k_reg_adjust_bw()
462 bw = end_freq - start_freq; in ath11k_reg_adjust_bw()
478 ath11k_reg_update_rule(struct ieee80211_reg_rule *reg_rule, u32 start_freq, in ath11k_reg_update_rule() argument
482 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath11k_reg_update_rule()
496 u32 start_freq; in ath11k_reg_update_weather_radar_band() local
507 bw = ath11k_reg_adjust_bw(reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
513 reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
520 i + 1, reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
527 start_freq = max_t(u32, reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()
[all …]
H A Dwmi.c3053 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param()
3057 band_to_mac[i].start_freq = hal_reg_cap->low_2ghz_chan; in ath11k_fill_band_to_mac_param()
3061 band_to_mac[i].start_freq = hal_reg_cap->low_5ghz_chan; in ath11k_fill_band_to_mac_param()
3231 band_to_mac->start_freq = in ath11k_init_cmd_send()
3232 param->band_to_mac[idx].start_freq; in ath11k_init_cmd_send()
4056 reg_rule_ptr[count].start_freq = in create_reg_rules_from_wmi()
H A Dwmi.h2108 u32 start_freq; member
2185 u32 start_freq; member
3966 u16 start_freq; member
/OK3568_Linux_fs/kernel/net/wireless/
H A Dchan.c442 u32 start_freq; in cfg80211_get_start_freq() local
446 start_freq = center_freq; in cfg80211_get_start_freq()
448 start_freq = center_freq - bandwidth / 2 + MHZ_TO_KHZ(10); in cfg80211_get_start_freq()
450 return start_freq; in cfg80211_get_start_freq()
472 u32 freq, start_freq, end_freq; in cfg80211_get_chans_dfs_required() local
474 start_freq = cfg80211_get_start_freq(center_freq, bandwidth); in cfg80211_get_chans_dfs_required()
477 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_required()
551 u32 freq, start_freq, end_freq; in cfg80211_get_chans_dfs_usable() local
554 start_freq = cfg80211_get_start_freq(center_freq, bandwidth); in cfg80211_get_chans_dfs_usable()
563 for (freq = start_freq; freq <= end_freq; freq += MHZ_TO_KHZ(20)) { in cfg80211_get_chans_dfs_usable()
[all …]
H A Dreg.c1163 u32 start_freq, end_freq, idx, no; in reg_get_max_bandwidth_from_range() local
1185 start_freq = freq_range->start_freq_khz; in reg_get_max_bandwidth_from_range()
1203 return end_freq - start_freq; in reg_get_max_bandwidth_from_range()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/
H A Dwifi_regd.c54 …struct get_chplan_resp *chplan, BAND_TYPE band, int last_end_freq, int start_freq, int end_freq, i… in rtw_get_ieee80211_reg_rule() argument
57 start_freq - 10, end_freq + 10, 20, 6, 20, in rtw_get_ieee80211_reg_rule()
69 while ((end_freq - start_freq + 20) < frange_max_bw) { in rtw_get_ieee80211_reg_rule()
77 && (rtw_freq_consecutive(last_end_freq, start_freq) in rtw_get_ieee80211_reg_rule()
98 int last_end_freq, start_freq, end_freq, freq; in rtw_build_wiphy_regd() local
123 start_freq = end_freq = freq; in rtw_build_wiphy_regd()
139 , r->n_reg_rules, band_str(start_band), start_freq, end_freq, start_flags); in rtw_build_wiphy_regd()
141 , last_end_freq, start_freq, end_freq, freq, start_flags); in rtw_build_wiphy_regd()
148 start_freq = end_freq = freq; in rtw_build_wiphy_regd()
156 , r->n_reg_rules, band_str(start_band), start_freq, end_freq, start_flags); in rtw_build_wiphy_regd()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/
H A Dwifi_regd.c54 …struct get_chplan_resp *chplan, BAND_TYPE band, int last_end_freq, int start_freq, int end_freq, i… in rtw_get_ieee80211_reg_rule() argument
57 start_freq - 10, end_freq + 10, 20, 6, 20, in rtw_get_ieee80211_reg_rule()
69 while ((end_freq - start_freq + 20) < frange_max_bw) { in rtw_get_ieee80211_reg_rule()
77 && (rtw_freq_consecutive(last_end_freq, start_freq) in rtw_get_ieee80211_reg_rule()
98 int last_end_freq, start_freq, end_freq, freq; in rtw_build_wiphy_regd() local
123 start_freq = end_freq = freq; in rtw_build_wiphy_regd()
139 , r->n_reg_rules, band_str(start_band), start_freq, end_freq, start_flags); in rtw_build_wiphy_regd()
141 , last_end_freq, start_freq, end_freq, freq, start_flags); in rtw_build_wiphy_regd()
148 start_freq = end_freq = freq; in rtw_build_wiphy_regd()
156 , r->n_reg_rules, band_str(start_band), start_freq, end_freq, start_flags); in rtw_build_wiphy_regd()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Dwifi_regd.c54 …t get_chplan_resp *chplan, enum band_type band, int last_end_freq, int start_freq, int end_freq, i… in rtw_get_ieee80211_reg_rule() argument
57 start_freq - 10, end_freq + 10, 20, 6, 20, in rtw_get_ieee80211_reg_rule()
69 while ((end_freq - start_freq + 20) < frange_max_bw) { in rtw_get_ieee80211_reg_rule()
77 && (rtw_freq_consecutive(last_end_freq, start_freq) in rtw_get_ieee80211_reg_rule()
98 int last_end_freq, start_freq, end_freq, freq; in rtw_build_wiphy_regd() local
123 start_freq = end_freq = freq; in rtw_build_wiphy_regd()
139 , r->n_reg_rules, band_str(start_band), start_freq, end_freq, start_flags); in rtw_build_wiphy_regd()
141 , last_end_freq, start_freq, end_freq, freq, start_flags); in rtw_build_wiphy_regd()
148 start_freq = end_freq = freq; in rtw_build_wiphy_regd()
156 , r->n_reg_rules, band_str(start_band), start_freq, end_freq, start_flags); in rtw_build_wiphy_regd()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/
H A Dwifi_regd.c54 …t get_chplan_resp *chplan, enum band_type band, int last_end_freq, int start_freq, int end_freq, i… in rtw_get_ieee80211_reg_rule() argument
57 start_freq - 10, end_freq + 10, 20, 6, 20, in rtw_get_ieee80211_reg_rule()
69 while ((end_freq - start_freq + 20) < frange_max_bw) { in rtw_get_ieee80211_reg_rule()
77 && (rtw_freq_consecutive(last_end_freq, start_freq) in rtw_get_ieee80211_reg_rule()
98 int last_end_freq, start_freq, end_freq, freq; in rtw_build_wiphy_regd() local
123 start_freq = end_freq = freq; in rtw_build_wiphy_regd()
139 , r->n_reg_rules, band_str(start_band), start_freq, end_freq, start_flags); in rtw_build_wiphy_regd()
141 , last_end_freq, start_freq, end_freq, freq, start_flags); in rtw_build_wiphy_regd()
148 start_freq = end_freq = freq; in rtw_build_wiphy_regd()
156 , r->n_reg_rules, band_str(start_band), start_freq, end_freq, start_flags); in rtw_build_wiphy_regd()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A D11h.c156 cr_req->chan_desc.start_freq = cpu_to_le16(MWIFIEX_A_BAND_START_FREQ); in mwifiex_cmd_issue_chan_report_request()
H A Dfw.h1447 __le16 start_freq; member
/OK3568_Linux_fs/kernel/net/mac80211/
H A Dibss.c1370 u32 start_freq, end_freq, freq; in ibss_setup_channels() local
1373 start_freq = center_freq; in ibss_setup_channels()
1376 start_freq = center_freq - width / 2 + 10; in ibss_setup_channels()
1380 for (freq = start_freq; freq <= end_freq; freq += 20) { in ibss_setup_channels()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_fw.h3193 t_u16 start_freq;