| /OK3568_Linux_fs/kernel/net/wireless/ |
| H A D | rdev-ops.h | 14 trace_rdev_suspend(&rdev->wiphy, wowlan); in rdev_suspend() 15 ret = rdev->ops->suspend(&rdev->wiphy, wowlan); in rdev_suspend() 16 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_suspend() 23 trace_rdev_resume(&rdev->wiphy); in rdev_resume() 24 ret = rdev->ops->resume(&rdev->wiphy); in rdev_resume() 25 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_resume() 32 trace_rdev_set_wakeup(&rdev->wiphy, enabled); in rdev_set_wakeup() 33 rdev->ops->set_wakeup(&rdev->wiphy, enabled); in rdev_set_wakeup() 34 trace_rdev_return_void(&rdev->wiphy); in rdev_set_wakeup() 44 trace_rdev_add_virtual_intf(&rdev->wiphy, name, type); in rdev_add_virtual_intf() [all …]
|
| H A D | core.c | 73 int get_wiphy_idx(struct wiphy *wiphy) in get_wiphy_idx() argument 75 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in get_wiphy_idx() 80 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx) in wiphy_idx_to_wiphy() 89 return &rdev->wiphy; in wiphy_idx_to_wiphy() 120 if (strcmp(newname, wiphy_name(&rdev2->wiphy)) == 0) in cfg80211_dev_check_name() 134 if (strcmp(newname, wiphy_name(&rdev->wiphy)) == 0) in cfg80211_dev_rename() 141 result = device_rename(&rdev->wiphy.dev, newname); in cfg80211_dev_rename() 145 if (!IS_ERR_OR_NULL(rdev->wiphy.debugfsdir)) in cfg80211_dev_rename() 146 debugfs_rename(rdev->wiphy.debugfsdir->d_parent, in cfg80211_dev_rename() 147 rdev->wiphy.debugfsdir, in cfg80211_dev_rename() [all …]
|
| H A D | trace.h | 27 #define WIPHY_ASSIGN strlcpy(__entry->wiphy_name, wiphy_name(wiphy), MAXNAME) 231 TP_PROTO(struct wiphy *wiphy, struct cfg80211_wowlan *wow), 232 TP_ARGS(wiphy, wow), 269 TP_PROTO(struct wiphy *wiphy, int ret), 270 TP_ARGS(wiphy, ret), 283 TP_PROTO(struct wiphy *wiphy, struct cfg80211_scan_request *request), 284 TP_ARGS(wiphy, request), 295 TP_PROTO(struct wiphy *wiphy), 296 TP_ARGS(wiphy), 307 TP_PROTO(struct wiphy *wiphy), [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/ |
| H A D | moal_cfg80211.h | 71 void *woal_get_wiphy_priv(struct wiphy *wiphy); 82 int woal_cfg80211_change_virtual_intf(struct wiphy *wiphy, 90 int woal_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed); 92 int woal_cfg80211_add_key(struct wiphy *wiphy, 99 int woal_cfg80211_del_key(struct wiphy *wiphy, 111 int woal_cfg80211_set_pmksa(struct wiphy *wiphy, struct net_device *dev, 114 int woal_cfg80211_del_pmksa(struct wiphy *wiphy, struct net_device *dev, 117 int woal_cfg80211_flush_pmksa(struct wiphy *wiphy, struct net_device *dev); 120 int woal_cfg80211_set_bitrate_mask(struct wiphy *wiphy, 125 int woal_cfg80211_set_antenna(struct wiphy *wiphy, u32 tx_ant, u32 rx_ant); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/ |
| H A D | moal_cfg80211.h | 92 void *woal_get_wiphy_priv(struct wiphy *wiphy); 120 int woal_cfg80211_change_virtual_intf(struct wiphy *wiphy, 128 int woal_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed); 130 int woal_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev, 140 int woal_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev, 155 int woal_cfg80211_set_pmksa(struct wiphy *wiphy, struct net_device *dev, 158 int woal_cfg80211_del_pmksa(struct wiphy *wiphy, struct net_device *dev, 161 int woal_cfg80211_flush_pmksa(struct wiphy *wiphy, struct net_device *dev); 164 int woal_cfg80211_set_bitrate_mask(struct wiphy *wiphy, struct net_device *dev, 171 int woal_cfg80211_set_antenna(struct wiphy *wiphy, u32 tx_ant, u32 rx_ant); [all …]
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | cfg80211.h | 63 struct wiphy; 600 void wiphy_read_of_freq_limits(struct wiphy *wiphy); 602 static inline void wiphy_read_of_freq_limits(struct wiphy *wiphy) in wiphy_read_of_freq_limits() argument 853 bool cfg80211_chandef_usable(struct wiphy *wiphy, 865 int cfg80211_chandef_dfs_required(struct wiphy *wiphy, 1469 int cfg80211_check_station_change(struct wiphy *wiphy, 2216 struct wiphy *wiphy; member 2364 struct wiphy *wiphy; member 3975 int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow); 3976 int (*resume)(struct wiphy *wiphy); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/ |
| H A D | wifi_regd.c | 148 static void _rtw_reg_apply_beaconing_flags(struct wiphy *wiphy, 161 if (!wiphy->bands[band]) 164 sband = wiphy->bands[band]; 172 r = freq_reg_info(wiphy, ch->center_freq, 203 static void _rtw_reg_apply_active_scan_flags(struct wiphy *wiphy, 213 if (!wiphy->bands[NL80211_BAND_2GHZ]) 215 sband = wiphy->bands[NL80211_BAND_2GHZ]; 239 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 247 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 260 static void _rtw_reg_apply_radar_flags(struct wiphy *wiphy) in _rtw_reg_apply_radar_flags() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | cfg80211.c | 74 qtnf_validate_iface_combinations(struct wiphy *wiphy, in qtnf_validate_iface_combinations() argument 86 mac = wiphy_priv(wiphy); in qtnf_validate_iface_combinations() 103 ret = cfg80211_check_combinations(wiphy, ¶ms); in qtnf_validate_iface_combinations() 124 qtnf_change_virtual_intf(struct wiphy *wiphy, in qtnf_change_virtual_intf() argument 134 ret = qtnf_validate_iface_combinations(wiphy, vif, type); in qtnf_change_virtual_intf() 159 int qtnf_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev) in qtnf_del_virtual_intf() argument 196 static struct wireless_dev *qtnf_add_virtual_intf(struct wiphy *wiphy, in qtnf_add_virtual_intf() argument 208 mac = wiphy_priv(wiphy); in qtnf_add_virtual_intf() 213 ret = qtnf_validate_iface_combinations(wiphy, NULL, type); in qtnf_add_virtual_intf() 233 vif->wdev.wiphy = wiphy; in qtnf_add_virtual_intf() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/ |
| H A D | wifi_regd.c | 144 static void _rtw_reg_apply_beaconing_flags(struct wiphy *wiphy, 157 if (!wiphy->bands[band]) 160 sband = wiphy->bands[band]; 168 r = freq_reg_info(wiphy, ch->center_freq, 199 static void _rtw_reg_apply_active_scan_flags(struct wiphy *wiphy, 209 if (!wiphy->bands[IEEE80211_BAND_2GHZ]) 211 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; 235 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 243 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 256 static void _rtw_reg_apply_radar_flags(struct wiphy *wiphy) in _rtw_reg_apply_radar_flags() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/ |
| H A D | wifi_regd.c | 144 static void _rtw_reg_apply_beaconing_flags(struct wiphy *wiphy, 157 if (!wiphy->bands[band]) 160 sband = wiphy->bands[band]; 168 r = freq_reg_info(wiphy, ch->center_freq, 199 static void _rtw_reg_apply_active_scan_flags(struct wiphy *wiphy, 209 if (!wiphy->bands[IEEE80211_BAND_2GHZ]) 211 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; 235 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 243 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 256 static void _rtw_reg_apply_radar_flags(struct wiphy *wiphy) in _rtw_reg_apply_radar_flags() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/ |
| H A D | wifi_regd.c | 144 static void _rtw_reg_apply_beaconing_flags(struct wiphy *wiphy, 157 if (!wiphy->bands[band]) 160 sband = wiphy->bands[band]; 168 r = freq_reg_info(wiphy, ch->center_freq, 199 static void _rtw_reg_apply_active_scan_flags(struct wiphy *wiphy, 209 if (!wiphy->bands[IEEE80211_BAND_2GHZ]) 211 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; 235 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 243 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 256 static void _rtw_reg_apply_radar_flags(struct wiphy *wiphy) in _rtw_reg_apply_radar_flags() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/orinoco/ |
| H A D | cfg.c | 24 void orinoco_wiphy_init(struct wiphy *wiphy) in orinoco_wiphy_init() argument 26 struct orinoco_private *priv = wiphy_priv(wiphy); in orinoco_wiphy_init() 28 wiphy->privid = orinoco_wiphy_privid; in orinoco_wiphy_init() 30 set_wiphy_dev(wiphy, priv->dev); in orinoco_wiphy_init() 34 int orinoco_wiphy_register(struct wiphy *wiphy) in orinoco_wiphy_register() argument 36 struct orinoco_private *priv = wiphy_priv(wiphy); in orinoco_wiphy_register() 40 wiphy->max_scan_ssids = 1; in orinoco_wiphy_register() 42 wiphy->max_scan_ssids = 0; in orinoco_wiphy_register() 44 wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); in orinoco_wiphy_register() 50 wiphy->interface_modes |= BIT(NL80211_IFTYPE_ADHOC); in orinoco_wiphy_register() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/ |
| H A D | wifi_regd.c | 60 static void _rtw_reg_apply_flags(struct wiphy *wiphy) in _rtw_reg_apply_flags() argument 62 struct adapter *padapter = wiphy_to_adapter(wiphy); in _rtw_reg_apply_flags() 75 sband = wiphy->bands[i]; in _rtw_reg_apply_flags() 94 ch = ieee80211_get_channel(wiphy, freq); in _rtw_reg_apply_flags() 104 static int _rtw_reg_notifier_apply(struct wiphy *wiphy, in _rtw_reg_notifier_apply() argument 109 _rtw_reg_apply_flags(wiphy); in _rtw_reg_notifier_apply() 121 struct wiphy *wiphy, in _rtw_regd_init_wiphy() argument 122 void (*reg_notifier)(struct wiphy *wiphy, in _rtw_regd_init_wiphy() argument 129 wiphy->reg_notifier = reg_notifier; in _rtw_regd_init_wiphy() 131 wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG; in _rtw_regd_init_wiphy() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | regd.c | 131 static void _rtl_reg_apply_beaconing_flags(struct wiphy *wiphy, in _rtl_reg_apply_beaconing_flags() argument 142 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags() 145 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags() 153 reg_rule = freq_reg_info(wiphy, in _rtl_reg_apply_beaconing_flags() 182 static void _rtl_reg_apply_active_scan_flags(struct wiphy *wiphy, in _rtl_reg_apply_active_scan_flags() argument 190 if (!wiphy->bands[NL80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags() 192 sband = wiphy->bands[NL80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags() 216 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags() 224 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags() 236 static void _rtl_reg_apply_radar_flags(struct wiphy *wiphy) in _rtl_reg_apply_radar_flags() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ |
| H A D | regd.c | 266 static void ath_force_clear_no_ir_chan(struct wiphy *wiphy, in ath_force_clear_no_ir_chan() argument 271 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); in ath_force_clear_no_ir_chan() 280 static void ath_force_clear_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_clear_no_ir_freq() argument 284 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_clear_no_ir_freq() 288 ath_force_clear_no_ir_chan(wiphy, ch); in ath_force_clear_no_ir_freq() 296 static void ath_force_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_no_ir_freq() argument 300 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_no_ir_freq() 308 __ath_reg_apply_beaconing_flags(struct wiphy *wiphy, in __ath_reg_apply_beaconing_flags() argument 319 ath_force_clear_no_ir_chan(wiphy, ch); in __ath_reg_apply_beaconing_flags() 323 ath_force_clear_no_ir_chan(wiphy, ch); in __ath_reg_apply_beaconing_flags() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | wifi_regd.c | 21 struct wiphy *wiphy = dvobj_to_wiphy(rfctl_to_dvobj(rfctl)); in rtw_chset_hook_os_channels() local 37 ch = ieee80211_get_channel(wiphy, freq); in rtw_chset_hook_os_channels() 48 bool rtw_regd_is_wiphy_self_managed(struct wiphy *wiphy) in rtw_regd_is_wiphy_self_managed() argument 50 return rtw_rfctl_is_disable_sw_channel_plan(wiphy_to_dvobj(wiphy)) in rtw_regd_is_wiphy_self_managed() 51 || !REGSTY_REGD_SRC_FROM_OS(dvobj_to_regsty(wiphy_to_dvobj(wiphy))); in rtw_regd_is_wiphy_self_managed() 93 static int rtw_build_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, struct ieee802… in rtw_build_wiphy_regd() argument 115 , FUNC_WIPHY_ARG(wiphy), band_str(chinfo->band), chinfo->ChannelNum); in rtw_build_wiphy_regd() 187 static void rtw_regd_disable_no_20mhz_chs(struct wiphy *wiphy) in rtw_regd_disable_no_20mhz_chs() argument 194 sband = wiphy->bands[i]; in rtw_regd_disable_no_20mhz_chs() 202 …RTW_INFO(FUNC_WIPHY_FMT" disable band:%d ch:%u w/o 20MHz\n", FUNC_WIPHY_ARG(wiphy), ch->band, ch->… in rtw_regd_disable_no_20mhz_chs() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/ |
| H A D | wifi_regd.c | 21 struct wiphy *wiphy = dvobj_to_wiphy(rfctl_to_dvobj(rfctl)); in rtw_chset_hook_os_channels() local 37 ch = ieee80211_get_channel(wiphy, freq); in rtw_chset_hook_os_channels() 48 bool rtw_regd_is_wiphy_self_managed(struct wiphy *wiphy) in rtw_regd_is_wiphy_self_managed() argument 50 return rtw_rfctl_is_disable_sw_channel_plan(wiphy_to_dvobj(wiphy)) in rtw_regd_is_wiphy_self_managed() 51 || !REGSTY_REGD_SRC_FROM_OS(dvobj_to_regsty(wiphy_to_dvobj(wiphy))); in rtw_regd_is_wiphy_self_managed() 93 static int rtw_build_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, struct ieee802… in rtw_build_wiphy_regd() argument 115 , FUNC_WIPHY_ARG(wiphy), band_str(chinfo->band), chinfo->ChannelNum); in rtw_build_wiphy_regd() 187 static void rtw_regd_disable_no_20mhz_chs(struct wiphy *wiphy) in rtw_regd_disable_no_20mhz_chs() argument 194 sband = wiphy->bands[i]; in rtw_regd_disable_no_20mhz_chs() 202 …RTW_INFO(FUNC_WIPHY_FMT" disable band:%d ch:%u w/o 20MHz\n", FUNC_WIPHY_ARG(wiphy), ch->band, ch->… in rtw_regd_disable_no_20mhz_chs() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/ |
| H A D | wifi_regd.c | 21 struct wiphy *wiphy = dvobj_to_wiphy(rfctl_to_dvobj(rfctl)); in rtw_chset_hook_os_channels() local 37 ch = ieee80211_get_channel(wiphy, freq); in rtw_chset_hook_os_channels() 48 bool rtw_regd_is_wiphy_self_managed(struct wiphy *wiphy) in rtw_regd_is_wiphy_self_managed() argument 50 return rtw_rfctl_is_disable_sw_channel_plan(wiphy_to_dvobj(wiphy)) in rtw_regd_is_wiphy_self_managed() 51 || !REGSTY_REGD_SRC_FROM_OS(dvobj_to_regsty(wiphy_to_dvobj(wiphy))); in rtw_regd_is_wiphy_self_managed() 93 static int rtw_build_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, struct ieee802… in rtw_build_wiphy_regd() argument 115 , FUNC_WIPHY_ARG(wiphy), band_str(chinfo->band), chinfo->ChannelNum); in rtw_build_wiphy_regd() 187 static void rtw_regd_disable_no_20mhz_chs(struct wiphy *wiphy) in rtw_regd_disable_no_20mhz_chs() argument 194 sband = wiphy->bands[i]; in rtw_regd_disable_no_20mhz_chs() 202 …RTW_INFO(FUNC_WIPHY_FMT" disable band:%d ch:%u w/o 20MHz\n", FUNC_WIPHY_ARG(wiphy), ch->band, ch->… in rtw_regd_disable_no_20mhz_chs() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | wifi_regd.c | 21 struct wiphy *wiphy = dvobj_to_wiphy(rfctl_to_dvobj(rfctl)); in rtw_chset_hook_os_channels() local 37 ch = ieee80211_get_channel(wiphy, freq); in rtw_chset_hook_os_channels() 48 bool rtw_regd_is_wiphy_self_managed(struct wiphy *wiphy) in rtw_regd_is_wiphy_self_managed() argument 50 return rtw_rfctl_is_disable_sw_channel_plan(wiphy_to_dvobj(wiphy)) in rtw_regd_is_wiphy_self_managed() 51 || !REGSTY_REGD_SRC_FROM_OS(dvobj_to_regsty(wiphy_to_dvobj(wiphy))); in rtw_regd_is_wiphy_self_managed() 93 static int rtw_build_wiphy_regd(struct wiphy *wiphy, struct get_chplan_resp *chplan, struct ieee802… in rtw_build_wiphy_regd() argument 115 , FUNC_WIPHY_ARG(wiphy), band_str(chinfo->band), chinfo->ChannelNum); in rtw_build_wiphy_regd() 187 static void rtw_regd_disable_no_20mhz_chs(struct wiphy *wiphy) in rtw_regd_disable_no_20mhz_chs() argument 194 sband = wiphy->bands[i]; in rtw_regd_disable_no_20mhz_chs() 202 …RTW_INFO(FUNC_WIPHY_FMT" disable band:%d ch:%u w/o 20MHz\n", FUNC_WIPHY_ARG(wiphy), ch->band, ch->… in rtw_regd_disable_no_20mhz_chs() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/ |
| H A D | wifi_regd.c | 148 static void _rtw_reg_apply_beaconing_flags(struct wiphy *wiphy, 161 if (!wiphy->bands[band]) 164 sband = wiphy->bands[band]; 172 r = freq_reg_info(wiphy, ch->center_freq, 203 static void _rtw_reg_apply_active_scan_flags(struct wiphy *wiphy, 213 if (!wiphy->bands[NL80211_BAND_2GHZ]) 215 sband = wiphy->bands[NL80211_BAND_2GHZ]; 239 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 247 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 256 void rtw_regd_apply_flags(struct wiphy *wiphy) in rtw_regd_apply_flags() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/ |
| H A D | wifi_regd.c | 148 static void _rtw_reg_apply_beaconing_flags(struct wiphy *wiphy, 161 if (!wiphy->bands[band]) 164 sband = wiphy->bands[band]; 172 r = freq_reg_info(wiphy, ch->center_freq, 203 static void _rtw_reg_apply_active_scan_flags(struct wiphy *wiphy, 213 if (!wiphy->bands[NL80211_BAND_2GHZ]) 215 sband = wiphy->bands[NL80211_BAND_2GHZ]; 239 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 247 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 256 void rtw_regd_apply_flags(struct wiphy *wiphy) in rtw_regd_apply_flags() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/ |
| H A D | wifi_regd.c | 148 static void _rtw_reg_apply_beaconing_flags(struct wiphy *wiphy, 161 if (!wiphy->bands[band]) 164 sband = wiphy->bands[band]; 172 r = freq_reg_info(wiphy, ch->center_freq, 203 static void _rtw_reg_apply_active_scan_flags(struct wiphy *wiphy, 213 if (!wiphy->bands[NL80211_BAND_2GHZ]) 215 sband = wiphy->bands[NL80211_BAND_2GHZ]; 239 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 247 r = freq_reg_info(wiphy, ch->center_freq, bandwidth, ®_rule); 256 void rtw_regd_apply_flags(struct wiphy *wiphy) in rtw_regd_apply_flags() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/ |
| H A D | wifi_regd.c | 20 void rtw_regd_apply_flags(struct wiphy *wiphy) in rtw_regd_apply_flags() argument 22 struct dvobj_priv *dvobj = wiphy_to_dvobj(wiphy); in rtw_regd_apply_flags() 35 sband = wiphy->bands[i]; in rtw_regd_apply_flags() 50 ch = ieee80211_get_channel(wiphy, freq); in rtw_regd_apply_flags() 77 static void rtw_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request) in rtw_reg_notifier() argument 89 rtw_set_country(wiphy_to_adapter(wiphy), request->alpha2); in rtw_reg_notifier() 96 rtw_regd_apply_flags(wiphy); in rtw_reg_notifier() 100 static int rtw_reg_notifier_return(struct wiphy *wiphy, struct regulatory_request *request) in rtw_reg_notifier_return() argument 102 rtw_reg_notifier(wiphy, request); in rtw_reg_notifier_return() 107 int rtw_regd_init(struct wiphy *wiphy) in rtw_regd_init() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/os_dep/linux/ |
| H A D | wifi_regd.c | 19 void rtw_regd_apply_flags(struct wiphy *wiphy) in rtw_regd_apply_flags() argument 21 struct dvobj_priv *dvobj = wiphy_to_dvobj(wiphy); in rtw_regd_apply_flags() 34 sband = wiphy->bands[i]; in rtw_regd_apply_flags() 49 ch = ieee80211_get_channel(wiphy, freq); in rtw_regd_apply_flags() 76 static void rtw_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request) in rtw_reg_notifier() argument 88 rtw_set_country(wiphy_to_adapter(wiphy), request->alpha2); in rtw_reg_notifier() 95 rtw_regd_apply_flags(wiphy); in rtw_reg_notifier() 99 static int rtw_reg_notifier_return(struct wiphy *wiphy, struct regulatory_request *request) in rtw_reg_notifier_return() argument 101 rtw_reg_notifier(wiphy, request); in rtw_reg_notifier_return() 106 int rtw_regd_init(struct wiphy *wiphy) in rtw_regd_init() argument [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/ |
| H A D | wifi_regd.c | 19 void rtw_regd_apply_flags(struct wiphy *wiphy) in rtw_regd_apply_flags() argument 21 struct dvobj_priv *dvobj = wiphy_to_dvobj(wiphy); in rtw_regd_apply_flags() 34 sband = wiphy->bands[i]; in rtw_regd_apply_flags() 49 ch = ieee80211_get_channel(wiphy, freq); in rtw_regd_apply_flags() 76 static void rtw_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request) in rtw_reg_notifier() argument 88 rtw_set_country(wiphy_to_adapter(wiphy), request->alpha2); in rtw_reg_notifier() 95 rtw_regd_apply_flags(wiphy); in rtw_reg_notifier() 99 static int rtw_reg_notifier_return(struct wiphy *wiphy, struct regulatory_request *request) in rtw_reg_notifier_return() argument 101 rtw_reg_notifier(wiphy, request); in rtw_reg_notifier_return() 106 int rtw_regd_init(struct wiphy *wiphy) in rtw_regd_init() argument [all …]
|