Lines Matching refs:wiphy

173 	cfg80211_sched_scan_stopped(ar->wiphy);  in ath6kl_cfg80211_sscan_disable()
455 static int ath6kl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, in ath6kl_cfg80211_connect() argument
701 bss = cfg80211_get_bss(ar->wiphy, chan, bssid, in ath6kl_add_bss_if_needed()
720 bss = cfg80211_inform_bss(ar->wiphy, chan, in ath6kl_add_bss_if_needed()
784 chan = ieee80211_get_channel(ar->wiphy, (int) channel); in ath6kl_cfg80211_connect_event()
797 cfg80211_put_bss(ar->wiphy, bss); in ath6kl_cfg80211_connect_event()
808 cfg80211_put_bss(ar->wiphy, bss); in ath6kl_cfg80211_connect_event()
816 static int ath6kl_cfg80211_disconnect(struct wiphy *wiphy, in ath6kl_cfg80211_disconnect() argument
987 static int ath6kl_cfg80211_scan(struct wiphy *wiphy, in ath6kl_cfg80211_scan() argument
1106 ieee80211_get_channel(vif->ar->wiphy, freq), in ath6kl_cfg80211_ch_switch_notify()
1115 static int ath6kl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *ndev, in ath6kl_cfg80211_add_key() argument
1240 static int ath6kl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *ndev, in ath6kl_cfg80211_del_key() argument
1270 static int ath6kl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *ndev, in ath6kl_cfg80211_get_key() argument
1305 static int ath6kl_cfg80211_set_default_key(struct wiphy *wiphy, in ath6kl_cfg80211_set_default_key() argument
1368 static int ath6kl_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed) in ath6kl_cfg80211_set_wiphy_params() argument
1370 struct ath6kl *ar = (struct ath6kl *)wiphy_priv(wiphy); in ath6kl_cfg80211_set_wiphy_params()
1385 ret = ath6kl_wmi_set_rts_cmd(ar->wmi, wiphy->rts_threshold); in ath6kl_cfg80211_set_wiphy_params()
1395 static int ath6kl_cfg80211_set_txpower(struct wiphy *wiphy, in ath6kl_cfg80211_set_txpower() argument
1400 struct ath6kl *ar = (struct ath6kl *)wiphy_priv(wiphy); in ath6kl_cfg80211_set_txpower()
1431 static int ath6kl_cfg80211_get_txpower(struct wiphy *wiphy, in ath6kl_cfg80211_get_txpower() argument
1435 struct ath6kl *ar = (struct ath6kl *)wiphy_priv(wiphy); in ath6kl_cfg80211_get_txpower()
1466 static int ath6kl_cfg80211_set_power_mgmt(struct wiphy *wiphy, in ath6kl_cfg80211_set_power_mgmt() argument
1497 static struct wireless_dev *ath6kl_cfg80211_add_iface(struct wiphy *wiphy, in ath6kl_cfg80211_add_iface() argument
1504 struct ath6kl *ar = wiphy_priv(wiphy); in ath6kl_cfg80211_add_iface()
1527 static int ath6kl_cfg80211_del_iface(struct wiphy *wiphy, in ath6kl_cfg80211_del_iface() argument
1530 struct ath6kl *ar = wiphy_priv(wiphy); in ath6kl_cfg80211_del_iface()
1546 static int ath6kl_cfg80211_change_iface(struct wiphy *wiphy, in ath6kl_cfg80211_change_iface() argument
1609 static int ath6kl_cfg80211_join_ibss(struct wiphy *wiphy, in ath6kl_cfg80211_join_ibss() argument
1679 static int ath6kl_cfg80211_leave_ibss(struct wiphy *wiphy, in ath6kl_cfg80211_leave_ibss() argument
1764 static int ath6kl_get_station(struct wiphy *wiphy, struct net_device *dev, in ath6kl_get_station() argument
1864 static int ath6kl_set_pmksa(struct wiphy *wiphy, struct net_device *netdev, in ath6kl_set_pmksa() argument
1874 static int ath6kl_del_pmksa(struct wiphy *wiphy, struct net_device *netdev, in ath6kl_del_pmksa() argument
1884 static int ath6kl_flush_pmksa(struct wiphy *wiphy, struct net_device *netdev) in ath6kl_flush_pmksa() argument
2530 static int __ath6kl_cfg80211_suspend(struct wiphy *wiphy, in __ath6kl_cfg80211_suspend() argument
2533 struct ath6kl *ar = wiphy_priv(wiphy); in __ath6kl_cfg80211_suspend()
2540 static int __ath6kl_cfg80211_resume(struct wiphy *wiphy) in __ath6kl_cfg80211_resume() argument
2542 struct ath6kl *ar = wiphy_priv(wiphy); in __ath6kl_cfg80211_resume()
2609 struct wiphy *wiphy = vif->ar->wiphy; in ath6kl_restore_htcap() local
2613 if (!wiphy->bands[band]) in ath6kl_restore_htcap()
2617 wiphy->bands[band]->ht_cap.ht_supported); in ath6kl_restore_htcap()
2751 static int ath6kl_start_ap(struct wiphy *wiphy, struct net_device *dev, in ath6kl_start_ap() argument
2948 static int ath6kl_change_beacon(struct wiphy *wiphy, struct net_device *dev, in ath6kl_change_beacon() argument
2962 static int ath6kl_stop_ap(struct wiphy *wiphy, struct net_device *dev) in ath6kl_stop_ap() argument
2981 static int ath6kl_del_station(struct wiphy *wiphy, struct net_device *dev, in ath6kl_del_station() argument
2992 static int ath6kl_change_station(struct wiphy *wiphy, struct net_device *dev, in ath6kl_change_station() argument
3003 err = cfg80211_check_station_change(wiphy, params, in ath6kl_change_station()
3015 static int ath6kl_remain_on_channel(struct wiphy *wiphy, in ath6kl_remain_on_channel() argument
3038 static int ath6kl_cancel_remain_on_channel(struct wiphy *wiphy, in ath6kl_cancel_remain_on_channel() argument
3174 static int ath6kl_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in ath6kl_mgmt_tx() argument
3234 static int ath6kl_get_antenna(struct wiphy *wiphy, in ath6kl_get_antenna() argument
3237 struct ath6kl *ar = wiphy_priv(wiphy); in ath6kl_get_antenna()
3243 static void ath6kl_mgmt_frame_register(struct wiphy *wiphy, in ath6kl_mgmt_frame_register() argument
3261 static int ath6kl_cfg80211_sscan_start(struct wiphy *wiphy, in ath6kl_cfg80211_sscan_start() argument
3349 static int ath6kl_cfg80211_sscan_stop(struct wiphy *wiphy, in ath6kl_cfg80211_sscan_stop() argument
3363 static int ath6kl_cfg80211_set_bitrate(struct wiphy *wiphy, in ath6kl_cfg80211_set_bitrate() argument
3375 static int ath6kl_cfg80211_set_txe_config(struct wiphy *wiphy, in ath6kl_cfg80211_set_txe_config() argument
3529 static void ath6kl_cfg80211_reg_notify(struct wiphy *wiphy, in ath6kl_cfg80211_reg_notify() argument
3532 struct ath6kl *ar = wiphy_priv(wiphy); in ath6kl_cfg80211_reg_notify()
3559 if (wiphy->bands[i]) in ath6kl_cfg80211_reg_notify()
3560 rates[i] = (1 << wiphy->bands[i]->n_bitrates) - 1; in ath6kl_cfg80211_reg_notify()
3782 vif->wdev.wiphy = ar->wiphy; in ath6kl_interface_add()
3785 SET_NETDEV_DEV(ndev, wiphy_dev(vif->wdev.wiphy)); in ath6kl_interface_add()
3854 struct wiphy *wiphy = ar->wiphy; in ath6kl_cfg80211_init() local
3858 wiphy->mgmt_stypes = ath6kl_mgmt_stypes; in ath6kl_cfg80211_init()
3860 wiphy->max_remain_on_channel_duration = 5000; in ath6kl_cfg80211_init()
3863 set_wiphy_dev(wiphy, ar->dev); in ath6kl_cfg80211_init()
3865 wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in ath6kl_cfg80211_init()
3869 wiphy->interface_modes |= BIT(NL80211_IFTYPE_P2P_GO) | in ath6kl_cfg80211_init()
3875 wiphy->reg_notifier = ath6kl_cfg80211_reg_notify; in ath6kl_cfg80211_init()
3876 ar->wiphy->features |= NL80211_FEATURE_CELL_BASE_REG_HINTS; in ath6kl_cfg80211_init()
3880 wiphy->max_scan_ssids = MAX_PROBED_SSIDS; in ath6kl_cfg80211_init()
3885 wiphy->max_match_sets = MAX_PROBED_SSIDS; in ath6kl_cfg80211_init()
3887 wiphy->max_scan_ie_len = 1000; /* FIX: what is correct limit? */ in ath6kl_cfg80211_init()
3942 wiphy->available_antennas_tx = ar->hw.tx_ant; in ath6kl_cfg80211_init()
3943 wiphy->available_antennas_rx = ar->hw.rx_ant; in ath6kl_cfg80211_init()
3946 wiphy->bands[IEEE80211_BAND_2GHZ] = &ath6kl_band_2ghz; in ath6kl_cfg80211_init()
3948 wiphy->bands[IEEE80211_BAND_5GHZ] = &ath6kl_band_5ghz; in ath6kl_cfg80211_init()
3950 wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM; in ath6kl_cfg80211_init()
3952 wiphy->cipher_suites = cipher_suites; in ath6kl_cfg80211_init()
3953 wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites); in ath6kl_cfg80211_init()
3956 wiphy->wowlan = &ath6kl_wowlan_support; in ath6kl_cfg80211_init()
3959 wiphy->max_sched_scan_ssids = MAX_PROBED_SSIDS; in ath6kl_cfg80211_init()
3961 ar->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM | in ath6kl_cfg80211_init()
3967 ar->wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; in ath6kl_cfg80211_init()
3971 ar->wiphy->features |= NL80211_FEATURE_INACTIVITY_TIMER; in ath6kl_cfg80211_init()
3973 ar->wiphy->probe_resp_offload = in ath6kl_cfg80211_init()
3978 ret = wiphy_register(wiphy); in ath6kl_cfg80211_init()
3991 wiphy_unregister(ar->wiphy); in ath6kl_cfg80211_cleanup()
3999 struct wiphy *wiphy; in ath6kl_cfg80211_create() local
4002 wiphy = wiphy_new(&ath6kl_cfg80211_ops, sizeof(struct ath6kl)); in ath6kl_cfg80211_create()
4004 if (!wiphy) { in ath6kl_cfg80211_create()
4009 ar = wiphy_priv(wiphy); in ath6kl_cfg80211_create()
4010 ar->wiphy = wiphy; in ath6kl_cfg80211_create()
4023 wiphy_free(ar->wiphy); in ath6kl_cfg80211_destroy()