Lines Matching defs:bs
2726 ndis_wlan_bssid_ex *bs;
2747 bs = (ndis_wlan_bssid_ex *)&bl->nblx_bssid[0];
2749 if (bcmp(bs->nwbx_macaddr, bssid, sizeof(bssid)) == 0) {
2750 *assoc = malloc(bs->nwbx_len, M_TEMP, M_NOWAIT);
2755 bcopy((char *)bs, (char *)*assoc, bs->nwbx_len);
2761 bs = (ndis_wlan_bssid_ex *)((char *)bs + bs->nwbx_len);
2774 ndis_wlan_bssid_ex *bs;
2782 if ((rval = ndis_get_assoc(sc, &bs)) != 0)
2786 ic->ic_curmode = ndis_nettype_mode(bs->nwbx_nettype);
2787 chanflag = ndis_nettype_chan(bs->nwbx_nettype);
2788 IEEE80211_ADDR_COPY(ni->ni_bssid, bs->nwbx_macaddr);
2791 bcopy(bs->nwbx_ssid.ns_ssid, ni->ni_essid,
2792 bs->nwbx_ssid.ns_ssidlen);
2793 ni->ni_esslen = bs->nwbx_ssid.ns_ssidlen;
2823 bs->nwbx_config.nc_dsconfig / 1000, chanflag);
2829 free(bs, M_TEMP);