Lines Matching refs:reg_request
2069 static void reg_process_hint(struct regulatory_request *reg_request) in reg_process_hint() argument
2074 if (reg_request->wiphy_idx != WIPHY_IDX_INVALID) in reg_process_hint()
2075 wiphy = wiphy_idx_to_wiphy(reg_request->wiphy_idx); in reg_process_hint()
2077 switch (reg_request->initiator) { in reg_process_hint()
2079 reg_process_hint_core(reg_request); in reg_process_hint()
2082 treatment = reg_process_hint_user(reg_request); in reg_process_hint()
2090 treatment = reg_process_hint_driver(wiphy, reg_request); in reg_process_hint()
2095 treatment = reg_process_hint_country_ie(wiphy, reg_request); in reg_process_hint()
2098 WARN(1, "invalid initiator %d\n", reg_request->initiator); in reg_process_hint()
2105 wiphy_update_regulatory(wiphy, reg_request->initiator); in reg_process_hint()
2112 reg_free_request(reg_request); in reg_process_hint()
2142 struct regulatory_request *reg_request, *lr; in reg_process_pending_hints() local
2159 reg_request = list_first_entry(®_requests_list, in reg_process_pending_hints()
2162 list_del_init(®_request->list); in reg_process_pending_hints()
2167 reg_free_request(reg_request); in reg_process_pending_hints()
2171 reg_process_hint(reg_request); in reg_process_pending_hints()
3175 struct regulatory_request *reg_request, *tmp; in regulatory_exit() local
3201 list_for_each_entry_safe(reg_request, tmp, ®_requests_list, list) { in regulatory_exit()
3202 list_del(®_request->list); in regulatory_exit()
3203 kfree(reg_request); in regulatory_exit()