Lines Matching refs:bss
28 struct nlattr *bss[NL80211_BSS_MAX + 1]; in link_bss_handler() local
50 if (nla_parse_nested(bss, NL80211_BSS_MAX, in link_bss_handler()
57 if (!bss[NL80211_BSS_BSSID]) in link_bss_handler()
60 if (!bss[NL80211_BSS_STATUS]) in link_bss_handler()
63 mac_addr_n2a(mac_addr, nla_data(bss[NL80211_BSS_BSSID])); in link_bss_handler()
66 switch (nla_get_u32(bss[NL80211_BSS_STATUS])) { in link_bss_handler()
82 if (bss[NL80211_BSS_INFORMATION_ELEMENTS]) in link_bss_handler()
83 print_ies(nla_data(bss[NL80211_BSS_INFORMATION_ELEMENTS]), in link_bss_handler()
84 nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]), in link_bss_handler()
87 if (bss[NL80211_BSS_FREQUENCY]) in link_bss_handler()
89 nla_get_u32(bss[NL80211_BSS_FREQUENCY])); in link_bss_handler()
91 if (nla_get_u32(bss[NL80211_BSS_STATUS]) != NL80211_BSS_STATUS_ASSOCIATED) in link_bss_handler()
96 memcpy(result->bssid, nla_data(bss[NL80211_BSS_BSSID]), 6); in link_bss_handler()