Lines Matching refs:nlattr
486 struct nlattr *tb[CTRL_ATTR_MAX + 1]; in family_handler()
488 struct nlattr *mcgrp; in family_handler()
497 struct nlattr *tb2[CTRL_ATTR_MCAST_GRP_MAX + 1]; in family_handler()
554 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in netdev_info_handler()
636 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in process_beacon_event()
984 brid = nla_get_u32((struct nlattr *) attr); in wpa_driver_nl80211_event_rtm_newlink()
1026 brid = nla_get_u32((struct nlattr *) attr); in wpa_driver_nl80211_event_rtm_dellink()
1150 enum nl80211_commands cmd, struct nlattr *status, in mlme_event_connect()
1151 struct nlattr *addr, struct nlattr *req_ie, in mlme_event_connect()
1152 struct nlattr *resp_ie) in mlme_event_connect()
1205 struct nlattr *reason, struct nlattr *addr, in mlme_event_disconnect()
1206 struct nlattr *by_ap) in mlme_event_disconnect()
1244 struct nlattr *freq, struct nlattr *type) in mlme_event_ch_switch()
1278 enum nl80211_commands cmd, struct nlattr *addr) in mlme_timeout_event()
1303 struct nlattr *freq, struct nlattr *sig, in mlme_event_mgmt()
1347 struct nlattr *cookie, const u8 *frame, in mlme_event_mgmt_tx_status()
1348 size_t len, struct nlattr *ack) in mlme_event_mgmt_tx_status()
1489 enum nl80211_commands cmd, struct nlattr *frame, in mlme_event()
1490 struct nlattr *addr, struct nlattr *timed_out, in mlme_event()
1491 struct nlattr *freq, struct nlattr *ack, in mlme_event()
1492 struct nlattr *cookie, struct nlattr *sig) in mlme_event()
1547 struct nlattr *tb[]) in mlme_event_michael_mic_failure()
1583 struct nlattr *tb[]) in mlme_event_join_ibss()
1600 int cancel_event, struct nlattr *tb[]) in mlme_event_remain_on_channel()
1648 struct nlattr *tb[]) in mlme_event_ft_event()
1676 struct nlattr *tb[]) in send_scan_event()
1679 struct nlattr *nl; in send_scan_event()
1726 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in get_link_signal()
1728 struct nlattr *sinfo[NL80211_STA_INFO_MAX + 1]; in get_link_signal()
1732 struct nlattr *rinfo[NL80211_RATE_INFO_MAX + 1]; in get_link_signal()
1797 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in get_link_noise()
1799 struct nlattr *sinfo[NL80211_SURVEY_INFO_MAX + 1]; in get_link_noise()
1864 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in get_noise_for_scan_results()
1866 struct nlattr *sinfo[NL80211_SURVEY_INFO_MAX + 1]; in get_noise_for_scan_results()
1938 struct nlattr *tb[]) in nl80211_cqm_event()
1946 struct nlattr *cqm[NL80211_ATTR_CQM_MAX + 1]; in nl80211_cqm_event()
2005 struct nlattr **tb) in nl80211_new_station_event()
2037 struct nlattr **tb) in nl80211_del_station_event()
2063 struct nlattr **tb) in nl80211_rekey_offload_event()
2065 struct nlattr *rekey_info[NUM_NL80211_REKEY_DATA]; in nl80211_rekey_offload_event()
2105 struct nlattr **tb) in nl80211_pmksa_candidate_event()
2107 struct nlattr *cand[NUM_NL80211_PMKSA_CANDIDATE]; in nl80211_pmksa_candidate_event()
2141 struct nlattr **tb) in nl80211_client_probe_event()
2159 struct nlattr **tb) in nl80211_tdls_oper_event()
2196 struct nlattr **tb) in nl80211_connect_failed_event()
2232 static void nl80211_spurious_frame(struct i802_bss *bss, struct nlattr **tb, in nl80211_spurious_frame()
2251 struct nlattr **tb) in do_process_drv_event()
2388 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in process_drv_event()
2416 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in process_global_event()
2445 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in process_bss_event()
2525 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in protocol_feature_handler()
2594 struct nlattr *tb) in wiphy_info_supported_iftypes()
2596 struct nlattr *nl_mode; in wiphy_info_supported_iftypes()
2625 struct nlattr *nl_combi) in wiphy_info_iface_comb_process()
2627 struct nlattr *tb_comb[NUM_NL80211_IFACE_COMB]; in wiphy_info_iface_comb_process()
2628 struct nlattr *tb_limit[NUM_NL80211_IFACE_LIMIT]; in wiphy_info_iface_comb_process()
2629 struct nlattr *nl_limit, *nl_mode; in wiphy_info_iface_comb_process()
2684 struct nlattr *tb) in wiphy_info_iface_comb()
2686 struct nlattr *nl_combi; in wiphy_info_iface_comb()
2700 struct nlattr *tb) in wiphy_info_supp_cmds()
2702 struct nlattr *nl_cmd; in wiphy_info_supp_cmds()
2728 struct nlattr *tb) in wiphy_info_max_roc()
2738 static void wiphy_info_tdls(struct wpa_driver_capa *capa, struct nlattr *tdls, in wiphy_info_tdls()
2739 struct nlattr *ext_setup) in wiphy_info_tdls()
2755 struct nlattr *tb) in wiphy_info_feature_flags()
2780 struct nlattr *tb) in wiphy_info_probe_resp_offload()
2797 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in wiphy_info_handler()
4172 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in bss_info_handler()
4174 struct nlattr *bss[NL80211_BSS_MAX + 1]; in bss_info_handler()
4655 struct nlattr *key_attr = nla_nest_start(msg, NL80211_ATTR_KEY); in nl_add_key()
4711 struct nlattr *nl_keys, *nl_key; in nl80211_set_conn_keys()
5093 static void phy_info_ht_capa(struct hostapd_hw_modes *mode, struct nlattr *capa, in phy_info_ht_capa()
5094 struct nlattr *ampdu_factor, in phy_info_ht_capa()
5095 struct nlattr *ampdu_density, in phy_info_ht_capa()
5096 struct nlattr *mcs_set) in phy_info_ht_capa()
5116 struct nlattr *capa, in phy_info_vht_capa()
5117 struct nlattr *mcs_set) in phy_info_vht_capa()
5132 struct nlattr *tb_freq[]) in phy_info_freq()
5181 struct hostapd_hw_modes *mode, struct nlattr *tb) in phy_info_freqs()
5193 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in phy_info_freqs()
5194 struct nlattr *nl_freq; in phy_info_freqs()
5233 static int phy_info_rates(struct hostapd_hw_modes *mode, struct nlattr *tb) in phy_info_rates()
5240 struct nlattr *tb_rate[NL80211_BITRATE_ATTR_MAX + 1]; in phy_info_rates()
5241 struct nlattr *nl_rate; in phy_info_rates()
5277 static int phy_info_band(struct phy_info_arg *phy_info, struct nlattr *nl_band) in phy_info_band()
5279 struct nlattr *tb_band[NL80211_BAND_ATTR_MAX + 1]; in phy_info_band()
5323 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in phy_info_handler()
5326 struct nlattr *nl_band; in phy_info_handler()
5469 static void nl80211_reg_rule_ht40(struct nlattr *tb[], in nl80211_reg_rule_ht40()
5498 static void nl80211_reg_rule_sec(struct nlattr *tb[], in nl80211_reg_rule_sec()
5528 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_reg()
5530 struct nlattr *nl_rule; in nl80211_get_reg()
5531 struct nlattr *tb_rule[NL80211_FREQUENCY_ATTR_MAX + 1]; in nl80211_get_reg()
7770 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in get_key_handler()
7917 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in get_sta_handler()
7920 struct nlattr *stats[NL80211_STA_INFO_MAX + 1]; in get_sta_handler()
8002 struct nlattr *txq, *params; in i802_set_tx_queue_params()
8669 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in cookie_handler()
8942 struct nlattr *bands, *band; in nl80211_disable_11b_rates()
9339 struct nlattr *replay_nested; in nl80211_set_rekey_info()