Lines Matching defs:reg_beacon

210 struct reg_beacon {
2145 struct reg_beacon *reg_beacon)
2152 sband = wiphy->bands[reg_beacon->chan.band];
2155 if (likely(!ieee80211_channel_equal(chan, &reg_beacon->chan)))
2185 struct reg_beacon *reg_beacon)
2190 if (!wiphy->bands[reg_beacon->chan.band])
2193 sband = wiphy->bands[reg_beacon->chan.band];
2196 handle_reg_beacon(wiphy, i, reg_beacon);
2206 struct reg_beacon *reg_beacon;
2208 list_for_each_entry(reg_beacon, &reg_beacon_list, list) {
2209 if (!wiphy->bands[reg_beacon->chan.band])
2211 sband = wiphy->bands[reg_beacon->chan.band];
2213 handle_reg_beacon(wiphy, i, reg_beacon);
3052 struct reg_beacon *pending_beacon, *tmp;
3395 struct reg_beacon *reg_beacon, *btmp;
3428 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) {
3429 list_del(&reg_beacon->list);
3430 kfree(reg_beacon);
3434 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) {
3435 list_del(&reg_beacon->list);
3436 kfree(reg_beacon);
3521 struct reg_beacon *reg_beacon, *btmp;
3527 list_for_each_entry_safe(reg_beacon, btmp,
3529 list_del(&reg_beacon->list);
3530 kfree(reg_beacon);
3534 list_for_each_entry_safe(reg_beacon, btmp,
3536 list_del(&reg_beacon->list);
3537 kfree(reg_beacon);
3558 struct reg_beacon *pending_beacon;
3571 struct reg_beacon *reg_beacon;
3587 reg_beacon = kzalloc(sizeof(struct reg_beacon), gfp);
3588 if (!reg_beacon)
3597 memcpy(&reg_beacon->chan, beacon_chan,
3605 list_add_tail(&reg_beacon->list, &reg_pending_beacons);
4249 struct reg_beacon *reg_beacon, *btmp;
4264 list_for_each_entry_safe(reg_beacon, btmp, &reg_pending_beacons, list) {
4265 list_del(&reg_beacon->list);
4266 kfree(reg_beacon);
4269 list_for_each_entry_safe(reg_beacon, btmp, &reg_beacon_list, list) {
4270 list_del(&reg_beacon->list);
4271 kfree(reg_beacon);