• Home
  • Raw
  • Download

Lines Matching refs:u

45 	struct ieee80211_if_ibss *ifibss = &sdata->u.ibss;  in ieee80211_ibss_build_presp()
82 mgmt->u.beacon.beacon_int = cpu_to_le16(beacon_int); in ieee80211_ibss_build_presp()
83 mgmt->u.beacon.timestamp = cpu_to_le64(tsf); in ieee80211_ibss_build_presp()
84 mgmt->u.beacon.capab_info = cpu_to_le16(capability); in ieee80211_ibss_build_presp()
86 pos = (u8 *)mgmt + offsetof(struct ieee80211_mgmt, u.beacon.variable); in ieee80211_ibss_build_presp()
225 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in __ieee80211_sta_join_ibss()
418 switch (sdata->u.ibss.chandef.width) { in ieee80211_sta_join_ibss()
422 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
429 chandef.width = sdata->u.ibss.chandef.width; in ieee80211_sta_join_ibss()
434 chandef = sdata->u.ibss.chandef; in ieee80211_sta_join_ibss()
445 rate_flags = ieee80211_chandef_rate_flags(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss()
486 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_csa_beacon()
532 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_finish_csa()
564 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_stop()
583 if (!sta->sdata->u.ibss.control_port) in ieee80211_ibss_finish_sta()
599 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_add_sta()
623 if (!ether_addr_equal(bssid, sdata->u.ibss.bssid)) { in ieee80211_ibss_add_sta()
678 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_disconnect()
723 RCU_INIT_POINTER(sdata->u.ibss.presp, NULL); in ieee80211_ibss_disconnect()
740 u.ibss.csa_connection_drop_work); in ieee80211_csa_connection_drop_work()
756 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_csa_mark_radar()
777 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_process_chanswitch()
921 if (mgmt->u.action.u.measurement.action_code != in ieee80211_rx_mgmt_spectrum_mgmt()
926 sizeof(mgmt->u.action.u.chan_switch); in ieee80211_rx_mgmt_spectrum_mgmt()
938 u16 reason = le16_to_cpu(mgmt->u.deauth.reason_code); in ieee80211_rx_mgmt_deauth_ibss()
959 auth_alg = le16_to_cpu(mgmt->u.auth.auth_alg); in ieee80211_rx_mgmt_auth_ibss()
960 auth_transaction = le16_to_cpu(mgmt->u.auth.auth_transaction); in ieee80211_rx_mgmt_auth_ibss()
976 mgmt->sa, sdata->u.ibss.bssid, NULL, 0, 0, 0); in ieee80211_rx_mgmt_auth_ibss()
996 if (!ether_addr_equal(mgmt->bssid, sdata->u.ibss.bssid)) in ieee80211_update_sta_info()
1044 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20_NOHT && in ieee80211_update_sta_info()
1045 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_5 && in ieee80211_update_sta_info()
1046 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_10) { in ieee80211_update_sta_info()
1061 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_20 && in ieee80211_update_sta_info()
1062 sdata->u.ibss.chandef.width != NL80211_CHAN_WIDTH_40) { in ieee80211_update_sta_info()
1083 if (!cfg80211_chandef_compatible(&sdata->u.ibss.chandef, in ieee80211_update_sta_info()
1130 beacon_timestamp = le64_to_cpu(mgmt->u.beacon.timestamp); in ieee80211_rx_bss_info()
1139 if (sdata->u.ibss.fixed_channel && in ieee80211_rx_bss_info()
1140 sdata->u.ibss.chandef.chan != cbss->channel) in ieee80211_rx_bss_info()
1144 if (elems->ssid_len != sdata->u.ibss.ssid_len || in ieee80211_rx_bss_info()
1145 memcmp(elems->ssid, sdata->u.ibss.ssid, in ieee80211_rx_bss_info()
1146 sdata->u.ibss.ssid_len)) in ieee80211_rx_bss_info()
1155 if (ether_addr_equal(cbss->bssid, sdata->u.ibss.bssid)) in ieee80211_rx_bss_info()
1159 if (sdata->u.ibss.fixed_bssid) in ieee80211_rx_bss_info()
1202 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_rx_no_sta()
1223 if (!ether_addr_equal(bssid, sdata->u.ibss.bssid)) in ieee80211_ibss_rx_no_sta()
1253 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_sta_expire()
1294 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_sta_merge_ibss()
1324 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_sta_create_ibss()
1432 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_sta_find_ibss()
1527 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_rx_mgmt_probe_req()
1557 pos = mgmt->u.probe_req.variable; in ieee80211_rx_mgmt_probe_req()
1598 BUILD_BUG_ON(offsetof(typeof(mgmt->u.probe_resp), variable) != in ieee80211_rx_mgmt_probe_beacon()
1599 offsetof(typeof(mgmt->u.beacon), variable)); in ieee80211_rx_mgmt_probe_beacon()
1605 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_probe_beacon()
1609 elems = ieee802_11_parse_elems(mgmt->u.probe_resp.variable, in ieee80211_rx_mgmt_probe_beacon()
1634 if (!sdata->u.ibss.ssid_len) in ieee80211_ibss_rx_queued_mgmt()
1653 switch (mgmt->u.action.category) { in ieee80211_ibss_rx_queued_mgmt()
1657 u.action.u.chan_switch.variable); in ieee80211_ibss_rx_queued_mgmt()
1663 mgmt->u.action.u.chan_switch.variable, in ieee80211_ibss_rx_queued_mgmt()
1682 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_work()
1727 from_timer(sdata, t, u.ibss.timer); in ieee80211_ibss_timer()
1734 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_setup_sdata()
1754 sdata->u.ibss.last_scan_completed = jiffies; in ieee80211_ibss_notify_scan_completed()
1799 memcpy(sdata->u.ibss.bssid, params->bssid, ETH_ALEN); in ieee80211_ibss_join()
1800 sdata->u.ibss.fixed_bssid = true; in ieee80211_ibss_join()
1802 sdata->u.ibss.fixed_bssid = false; in ieee80211_ibss_join()
1804 sdata->u.ibss.privacy = params->privacy; in ieee80211_ibss_join()
1805 sdata->u.ibss.control_port = params->control_port; in ieee80211_ibss_join()
1806 sdata->u.ibss.userspace_handles_dfs = params->userspace_handles_dfs; in ieee80211_ibss_join()
1807 sdata->u.ibss.basic_rates = params->basic_rates; in ieee80211_ibss_join()
1808 sdata->u.ibss.last_scan_completed = jiffies; in ieee80211_ibss_join()
1815 sdata->u.ibss.basic_rates &= ~BIT(i); in ieee80211_ibss_join()
1822 sdata->u.ibss.chandef = params->chandef; in ieee80211_ibss_join()
1823 sdata->u.ibss.fixed_channel = params->channel_fixed; in ieee80211_ibss_join()
1826 sdata->u.ibss.ie = kmemdup(params->ie, params->ie_len, in ieee80211_ibss_join()
1828 if (sdata->u.ibss.ie) in ieee80211_ibss_join()
1829 sdata->u.ibss.ie_len = params->ie_len; in ieee80211_ibss_join()
1832 sdata->u.ibss.state = IEEE80211_IBSS_MLME_SEARCH; in ieee80211_ibss_join()
1833 sdata->u.ibss.ibss_join_req = jiffies; in ieee80211_ibss_join()
1835 memcpy(sdata->u.ibss.ssid, params->ssid, params->ssid_len); in ieee80211_ibss_join()
1836 sdata->u.ibss.ssid_len = params->ssid_len; in ieee80211_ibss_join()
1838 memcpy(&sdata->u.ibss.ht_capa, &params->ht_capa, in ieee80211_ibss_join()
1839 sizeof(sdata->u.ibss.ht_capa)); in ieee80211_ibss_join()
1840 memcpy(&sdata->u.ibss.ht_capa_mask, &params->ht_capa_mask, in ieee80211_ibss_join()
1841 sizeof(sdata->u.ibss.ht_capa_mask)); in ieee80211_ibss_join()
1871 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_leave()
1878 kfree(sdata->u.ibss.ie); in ieee80211_ibss_leave()
1879 sdata->u.ibss.ie = NULL; in ieee80211_ibss_leave()
1880 sdata->u.ibss.ie_len = 0; in ieee80211_ibss_leave()
1890 del_timer_sync(&sdata->u.ibss.timer); in ieee80211_ibss_leave()