Lines Matching refs:bss
809 bss_t *bss;
846 bss = wlan_find_node(&wmip->wmi_scan_table, bih->bssid);
847 if (bss != NULL) {
853 wlan_node_reclaim(&wmip->wmi_scan_table, bss);
856 bss = wlan_node_alloc(&wmip->wmi_scan_table, len);
857 if (bss == NULL) {
861 bss->ni_snr = bih->snr;
862 bss->ni_rssi = bih->rssi;
863 A_ASSERT(bss->ni_buf != NULL);
864 A_MEMCPY(bss->ni_buf, buf, len);
866 if (wlan_parse_beacon(bss->ni_buf, len, &bss->ni_cie) != A_OK) {
867 wlan_node_free(bss);
875 bss->ni_cie.ie_chan = bih->channel;
876 wlan_setup_node(&wmip->wmi_scan_table, bss, bih->bssid);
884 bss_t *bss;
899 bss = wlan_find_node(&wmip->wmi_scan_table, bih->bssid);
900 if (bss != NULL) {
906 wlan_node_reclaim(&wmip->wmi_scan_table, bss);
909 bss = wlan_node_alloc(&wmip->wmi_scan_table, len);
910 if (bss == NULL) {
914 bss->ni_snr = bih->snr;
915 bss->ni_cie.ie_chan = bih->channel;
916 A_ASSERT(bss->ni_buf != NULL);
917 A_MEMCPY(bss->ni_buf, buf, len);
918 wlan_setup_node(&wmip->wmi_scan_table, bss, bih->bssid);
3800 wmi_node_return (struct wmi_t *wmip, bss_t *bss)
3802 if (NULL != bss)
3804 wlan_node_return (&wmip->wmi_scan_table, bss);