Home
last modified time | relevance | path

Searched refs:pub (Results 1 – 25 of 28) sorted by relevance

12

/net/mac80211/
Dvht.c122 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in ieee80211_vht_cap_ie_to_sta_vht_cap()
130 if (!link_sta->pub->ht_cap.ht_supported) in ieee80211_vht_cap_ie_to_sta_vht_cap()
320 link_sta->pub->bandwidth = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_vht_cap_ie_to_sta_vht_cap()
338 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454; in ieee80211_vht_cap_ie_to_sta_vht_cap()
341 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_7991; in ieee80211_vht_cap_ie_to_sta_vht_cap()
345 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_3895; in ieee80211_vht_cap_ie_to_sta_vht_cap()
358 struct ieee80211_sta_vht_cap *vht_cap = &link_sta->pub->vht_cap; in ieee80211_sta_cap_rx_bw()
359 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in ieee80211_sta_cap_rx_bw()
360 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in ieee80211_sta_cap_rx_bw()
405 return link_sta->pub->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in ieee80211_sta_cap_rx_bw()
[all …]
Dhe.c34 link_sta->pub->smps_mode = smps_mode; in ieee80211_update_from_he_6ghz_capa()
36 link_sta->pub->smps_mode = IEEE80211_SMPS_OFF; in ieee80211_update_from_he_6ghz_capa()
42 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_11454; in ieee80211_update_from_he_6ghz_capa()
45 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_7991; in ieee80211_update_from_he_6ghz_capa()
49 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_VHT_3895; in ieee80211_update_from_he_6ghz_capa()
55 link_sta->pub->he_6ghz_capa = *he_6ghz_capa; in ieee80211_update_from_he_6ghz_capa()
116 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap; in ieee80211_he_cap_ie_to_sta_he_cap()
164 link_sta->pub->bandwidth = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_he_cap_ie_to_sta_he_cap()
Dht.c244 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_7935; in ieee80211_ht_cap_ie_to_sta_ht_cap()
246 link_sta->pub->agg.max_amsdu_len = IEEE80211_MAX_MPDU_LEN_HT_3839; in ieee80211_ht_cap_ie_to_sta_ht_cap()
251 changed = memcmp(&link_sta->pub->ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
253 memcpy(&link_sta->pub->ht_cap, &ht_cap, sizeof(ht_cap)); in ieee80211_ht_cap_ie_to_sta_ht_cap()
281 link_sta->pub->bandwidth = bw; in ieee80211_ht_cap_ie_to_sta_ht_cap()
305 if (smps_mode != link_sta->pub->smps_mode) in ieee80211_ht_cap_ie_to_sta_ht_cap()
307 link_sta->pub->smps_mode = smps_mode; in ieee80211_ht_cap_ie_to_sta_ht_cap()
309 link_sta->pub->smps_mode = IEEE80211_SMPS_OFF; in ieee80211_ht_cap_ie_to_sta_ht_cap()
Deht.c18 struct ieee80211_sta_eht_cap *eht_cap = &link_sta->pub->eht_cap; in ieee80211_eht_cap_ie_to_sta_eht_cap()
77 link_sta->pub->bandwidth = ieee80211_sta_cur_vht_bw(link_sta); in ieee80211_eht_cap_ie_to_sta_eht_cap()
Ddebugfs_sta.c453 snprintf(mac, sizeof(mac), "%pM\n", link_sta->pub->addr); in link_sta_addr_read()
472 struct ieee80211_sta_ht_cap *htc = &link_sta->pub->ht_cap; in link_sta_ht_capa_read()
556 struct ieee80211_sta_vht_cap *vhtc = &link_sta->pub->vht_cap; in link_sta_vht_capa_read()
671 struct ieee80211_sta_he_cap *hec = &link_sta->pub->he_cap; in link_sta_he_capa_read()
1044 struct ieee80211_sta_eht_cap *bec = &link_sta->pub->eht_cap; in link_sta_eht_capa_read()
1176 if (!(link_sta->pub->he_cap.he_cap_elem.phy_cap_info[0] & in link_sta_eht_capa_read()
1344 link_sta->pub, link_sta->debugfs_dir); in ieee80211_link_sta_debugfs_drv_add()
Dchan.c214 if (link_sta->pub->ht_cap.ht_supported) in ieee80211_get_sta_bw()
435 if (new_sta_bw == link_sta->pub->bandwidth) in ieee80211_chan_bw_change()
440 if ((new_sta_bw < link_sta->pub->bandwidth) == !narrowed) in ieee80211_chan_bw_change()
443 link_sta->pub->bandwidth = new_sta_bw; in ieee80211_chan_bw_change()
Dsta_info.h572 struct ieee80211_link_sta *pub; member
Drx.c3487 if (!rx->link_sta->pub->ht_cap.ht_supported) in ieee80211_rx_h_action()
3527 if (rx->link_sta->pub->smps_mode == smps_mode) in ieee80211_rx_h_action()
3529 rx->link_sta->pub->smps_mode = smps_mode; in ieee80211_rx_h_action()
3551 if (!(rx->link_sta->pub->ht_cap.cap & in ieee80211_rx_h_action()
3564 if (rx->link_sta->pub->bandwidth == new_bw) in ieee80211_rx_h_action()
3567 rx->link_sta->pub->bandwidth = new_bw; in ieee80211_rx_h_action()
Dmlme.c3959 return link_sta->pub->he_cap.he_cap_elem.mac_cap_info[0] & in ieee80211_twt_req_supported()
3990 (link_sta->pub->he_cap.he_cap_elem.mac_cap_info[2] & in ieee80211_twt_bcast_support()
4242 bss_conf->he_support = link_sta->pub->he_cap.has_he; in ieee80211_assoc_config_link()
4263 bss_conf->eht_support = link_sta->pub->eht_cap.has_eht; in ieee80211_assoc_config_link()
4335 link_sta->pub->rx_nss = nss; in ieee80211_assoc_config_link()
4403 memcpy(link_sta->pub->addr, cbss->bssid, ETH_ALEN); in ieee80211_mgd_setup_link_sta()
4436 link_sta->pub->supp_rates[cbss->channel->band] = rates; in ieee80211_mgd_setup_link_sta()
Dcfg.c1830 memcpy(link_sta->pub->addr, params->link_mac, ETH_ALEN); in sta_link_apply_parameters()
1840 link_sta->pub->txpwr.type = params->txpwr.type; in sta_link_apply_parameters()
1842 link_sta->pub->txpwr.power = params->txpwr.power; in sta_link_apply_parameters()
1853 &link_sta->pub->supp_rates[sband->band]); in sta_link_apply_parameters()
Dsta_info.c517 link_info->pub = link_sta; in sta_info_add_link()
518 link_info->pub->sta = &sta->sta; in sta_info_add_link()
/net/wireless/
Dscan.c125 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
126 if (ies && !bss->pub.hidden_beacon_bss) in bss_free()
128 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
149 if (bss->pub.hidden_beacon_bss) in bss_ref_get()
150 bss_from_pub(bss->pub.hidden_beacon_bss)->refcount++; in bss_ref_get()
152 if (bss->pub.transmitted_bss) in bss_ref_get()
153 bss_from_pub(bss->pub.transmitted_bss)->refcount++; in bss_ref_get()
161 if (bss->pub.hidden_beacon_bss) { in bss_ref_put()
164 hbss = bss_from_pub(bss->pub.hidden_beacon_bss); in bss_ref_put()
170 if (bss->pub.transmitted_bss) { in bss_ref_put()
[all …]
Dcore.h185 struct cfg80211_bss pub; member
188 static inline struct cfg80211_internal_bss *bss_from_pub(struct cfg80211_bss *pub) in bss_from_pub() argument
190 return container_of(pub, struct cfg80211_internal_bss, pub); in bss_from_pub()
196 if (bss->pub.transmitted_bss) { in cfg80211_hold_bss()
197 bss = container_of(bss->pub.transmitted_bss, in cfg80211_hold_bss()
198 struct cfg80211_internal_bss, pub); in cfg80211_hold_bss()
207 if (bss->pub.transmitted_bss) { in cfg80211_unhold_bss()
208 bss = container_of(bss->pub.transmitted_bss, in cfg80211_unhold_bss()
209 struct cfg80211_internal_bss, pub); in cfg80211_unhold_bss()
Dibss.c42 cfg80211_put_bss(wdev->wiphy, &wdev->u.ibss.current_bss->pub); in __cfg80211_ibss_joined()
177 cfg80211_put_bss(wdev->wiphy, &wdev->u.ibss.current_bss->pub); in __cfg80211_clear_ibss()
377 chan = wdev->u.ibss.current_bss->pub.channel; in cfg80211_ibss_wext_giwfreq()
530 memcpy(ap_addr->sa_data, wdev->u.ibss.current_bss->pub.bssid, in cfg80211_ibss_wext_giwap()
Dwext-sme.c132 chan = wdev->links[0].client.current_bss->pub.channel; in cfg80211_mgd_wext_giwfreq()
225 &wdev->links[0].client.current_bss->pub, in cfg80211_mgd_wext_giwessid()
316 wdev->links[0].client.current_bss->pub.bssid, in cfg80211_mgd_wext_giwap()
Dchan.c536 wdev->links[link_id].client.current_bss->pub.channel; in cfg80211_dfs_permissive_check_wdev()
1304 other_chan = wdev->links[link_id].client.current_bss->pub.channel; in cfg80211_ir_permissive_check_wdev()
Dtrace.h3618 TP_PROTO(struct cfg80211_bss *pub),
3619 TP_ARGS(pub),
3625 MAC_ASSIGN(bssid, pub->bssid);
3626 CHAN_ASSIGN(pub->channel);
3632 TP_PROTO(struct cfg80211_bss *pub),
3633 TP_ARGS(pub)
Dcore.c1160 cfg80211_put_bss(&rdev->wiphy, &scan->pub); in cfg80211_dev_free()
1252 cfg80211_put_bss(wdev->wiphy, &curbss->pub); in _cfg80211_unregister_wdev()
Dwext-compat.c1346 memcpy(addr, wdev->links[0].client.current_bss->pub.bssid, in cfg80211_wext_giwrate()
1395 memcpy(bssid, wdev->links[0].client.current_bss->pub.bssid, ETH_ALEN); in cfg80211_wireless_stats()
Dsme.c489 &wdev->links[link].client.current_bss->pub); in cfg80211_wdev_release_bsses()
504 &wdev->links[link].client.current_bss->pub); in cfg80211_wdev_release_link_bsses()
Dmlme.c762 !ether_addr_equal(wdev->u.ibss.current_bss->pub.bssid, in cfg80211_mlme_mgmt_tx()
/net/atm/
Daddr.c20 if (!*addr->sas_addr.pub) in check_addr()
23 if (!addr->sas_addr.pub[i]) in check_addr()
33 if (!*a->sas_addr.pub) in identical()
34 return !*b->sas_addr.pub; in identical()
35 if (!*b->sas_addr.pub) in identical()
37 return !strcmp(a->sas_addr.pub, b->sas_addr.pub); in identical()
Dsignaling.c80 if (!*vcc->local.sas_addr.prv && !*vcc->local.sas_addr.pub) { in sigd_send()
84 memcpy(vcc->local.sas_addr.pub, in sigd_send()
85 msg->local.sas_addr.pub, ATM_E164_LEN + 1); in sigd_send()
Dproc.c213 seq_printf(seq, "%s%s", vcc->remote.sas_addr.pub, in svc_info()
214 *vcc->remote.sas_addr.pub && *vcc->remote.sas_addr.prv ? "+" : ""); in svc_info()
Dclip.c710 if (*addr->sas_addr.pub) { in svc_addr()
711 seq_printf(seq, "%s", addr->sas_addr.pub); in svc_addr()

12