Home | History | Annotate | Download | only in drivers

Lines Matching refs:first_bss

289 	for (bss = drv->first_bss; bss; bss = bss->next) {
310 drv->first_bss->freq = 0;
888 if (drv && os_strcmp(drv->first_bss->ifname, ifname) == 0) {
889 if (if_nametoindex(drv->first_bss->ifname) == 0) {
891 drv->first_bss->ifname);
897 drv->first_bss->ifname);
920 if (drv && os_strcmp(drv->first_bss->ifname, ifname) == 0) {
960 drv->first_bss->ifname) == 0)
1120 if (os_strcmp(drv->first_bss->ifname, ifname) != 0) {
1123 drv->first_bss->ifname);
1156 if (os_strcmp(drv->first_bss->ifname, ifname) != 0) {
1159 drv->first_bss->ifname);
1160 } else if (if_nametoindex(drv->first_bss->ifname) == 0) {
1163 drv->first_bss->ifname);
1167 "removed", drv->first_bss->ifname);
1211 for (bss = drv->first_bss; bss; bss = bss->next) {
1836 if (i802_set_iface_flags(drv->first_bss, 1)) {
1968 tmp1->first_bss->ifname);
1969 os_strlcpy(rcfg->ifname, tmp1->first_bss->ifname,
1974 os_strlcpy(rcfg->ifname, drv->first_bss->ifname,
2017 drv->first_bss = os_zalloc(sizeof(*drv->first_bss));
2018 if (!drv->first_bss) {
2022 bss = drv->first_bss;
2615 struct i802_bss *bss = drv->first_bss;
2834 nl80211_destroy_bss(drv->first_bss);
2849 os_free(drv->first_bss);
3598 struct i802_bss *bss = drv->first_bss;
4863 msg = nl80211_cmd_msg(drv->first_bss, 0, NL80211_CMD_NEW_INTERFACE);
5201 if (wpa_driver_nl80211_set_mode(drv->first_bss, nlmode)) {
5207 nl80211_set_channel(drv->first_bss, &params->freq, 0)) {
5209 wpa_driver_nl80211_set_mode(drv->first_bss, old_mode);
5235 wpa_driver_nl80211_set_mode(drv->first_bss,
5296 if (wpa_driver_nl80211_set_mode_ibss(drv->first_bss, &params->freq)) {
5892 msg = nl80211_cmd_msg(drv->first_bss, 0, NL80211_CMD_SET_INTERFACE);
7034 if (os_memcmp(addr, drv->first_bss->addr, ETH_ALEN) == 0)
7048 os_memcpy(new_addr, drv->first_bss->addr, ETH_ALEN);
7050 new_addr[0] = drv->first_bss->addr[0] | 0x02;
7211 new_bss->next = drv->first_bss->next;
7212 new_bss->freq = drv->first_bss->freq;
7215 drv->first_bss->next = new_bss;
7280 if (bss != drv->first_bss) {
7284 for (tbss = drv->first_bss; tbss; tbss = tbss->next) {
7303 if (!bss->added_if && !drv->first_bss->next)
7308 if (drv->first_bss->next) {
7309 drv->first_bss = drv->first_bss->next;
7310 drv->ctx = drv->first_bss->ctx;
9641 if (wpa_driver_nl80211_set_mode(drv->first_bss,
10862 msg = nl80211_cmd_msg(drv->first_bss, 0, NL80211_CMD_SET_INTERFACE);