Lines Matching defs:reg_beacon

232 struct reg_beacon {
2185 struct reg_beacon *reg_beacon)
2193 sband = wiphy->bands[reg_beacon->chan.band];
2196 if (likely(!ieee80211_channel_equal(chan, &reg_beacon->chan)))
2229 struct reg_beacon *reg_beacon)
2234 if (!wiphy->bands[reg_beacon->chan.band])
2237 sband = wiphy->bands[reg_beacon->chan.band];
2240 handle_reg_beacon(wiphy, i, reg_beacon);
2250 struct reg_beacon *reg_beacon;
2252 list_for_each_entry(reg_beacon, &reg_beacon_list, list) {
2253 if (!wiphy->bands[reg_beacon->chan.band])
2255 sband = wiphy->bands[reg_beacon->chan.band];
2257 handle_reg_beacon(wiphy, i, reg_beacon);
3140 struct reg_beacon *pending_beacon, *tmp;
3495 struct reg_beacon *reg_beacon, *btmp;
3528 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) {
3529 list_del(&reg_beacon->list);
3530 kfree(reg_beacon);
3534 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) {
3535 list_del(&reg_beacon->list);
3536 kfree(reg_beacon);
3621 struct reg_beacon *reg_beacon, *btmp;
3627 list_for_each_entry_safe(reg_beacon, btmp,
3629 list_del(&reg_beacon->list);
3630 kfree(reg_beacon);
3634 list_for_each_entry_safe(reg_beacon, btmp,
3636 list_del(&reg_beacon->list);
3637 kfree(reg_beacon);
3658 struct reg_beacon *pending_beacon;
3671 struct reg_beacon *reg_beacon;
3687 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp);
3688 if (!reg_beacon)
3697 memcpy(&reg_beacon->chan, beacon_chan,
3705 list_add_tail(&reg_beacon->list, &reg_pending_beacons);
4361 struct reg_beacon *reg_beacon, *btmp;
4376 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) {
4377 list_del(&reg_beacon->list);
4378 kfree(reg_beacon);
4381 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) {
4382 list_del(&reg_beacon->list);
4383 kfree(reg_beacon);