Lines Matching refs:gnlh
740 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in family_handler() local
744 nla_parse(tb, CTRL_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in family_handler()
745 genlmsg_attrlen(gnlh, 0), NULL); in family_handler()
810 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in netdev_info_handler() local
813 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in netdev_info_handler()
814 genlmsg_attrlen(gnlh, 0), NULL); in netdev_info_handler()
953 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in process_beacon_event() local
957 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in process_beacon_event()
958 genlmsg_attrlen(gnlh, 0), NULL); in process_beacon_event()
960 if (gnlh->cmd != NL80211_CMD_FRAME) { in process_beacon_event()
962 gnlh->cmd); in process_beacon_event()
2324 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in get_link_signal() local
2339 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in get_link_signal()
2340 genlmsg_attrlen(gnlh, 0), NULL); in get_link_signal()
2402 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in get_link_noise() local
2410 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in get_link_noise()
2411 genlmsg_attrlen(gnlh, 0), NULL); in get_link_noise()
2469 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in get_noise_for_scan_results() local
2479 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in get_noise_for_scan_results()
2480 genlmsg_attrlen(gnlh, 0), NULL); in get_noise_for_scan_results()
3273 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in process_drv_event() local
3278 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in process_drv_event()
3279 genlmsg_attrlen(gnlh, 0), NULL); in process_drv_event()
3286 do_process_drv_event(bss, gnlh->cmd, tb); in process_drv_event()
3291 gnlh->cmd, ifidx); in process_drv_event()
3297 do_process_drv_event(bss, gnlh->cmd, tb); in process_drv_event()
3303 gnlh->cmd, (long long unsigned int) wdev_id); in process_drv_event()
3313 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in process_global_event() local
3321 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in process_global_event()
3322 genlmsg_attrlen(gnlh, 0), NULL); in process_global_event()
3338 do_process_drv_event(bss, gnlh->cmd, tb); in process_global_event()
3351 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in process_bss_event() local
3354 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in process_bss_event()
3355 genlmsg_attrlen(gnlh, 0), NULL); in process_bss_event()
3358 gnlh->cmd, nl80211_command_to_string(gnlh->cmd), in process_bss_event()
3361 switch (gnlh->cmd) { in process_bss_event()
3364 mlme_event(bss, gnlh->cmd, tb[NL80211_ATTR_FRAME], in process_bss_event()
3378 "(cmd=%d)", gnlh->cmd); in process_bss_event()
3442 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl80211_get_country() local
3444 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_country()
3445 genlmsg_attrlen(gnlh, 0), NULL); in nl80211_get_country()
3480 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in protocol_feature_handler() local
3482 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in protocol_feature_handler()
3483 genlmsg_attrlen(gnlh, 0), NULL); in protocol_feature_handler()
3863 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in wiphy_info_handler() local
3868 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in wiphy_info_handler()
3869 genlmsg_attrlen(gnlh, 0), NULL); in wiphy_info_handler()
5461 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in bss_info_handler() local
5485 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in bss_info_handler()
5486 genlmsg_attrlen(gnlh, 0), NULL); in bss_info_handler()
6680 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in phy_info_handler() local
6685 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in phy_info_handler()
6686 genlmsg_attrlen(gnlh, 0), NULL); in phy_info_handler()
6959 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl80211_get_reg() local
6972 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_reg()
6973 genlmsg_attrlen(gnlh, 0), NULL); in nl80211_get_reg()
9354 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in dfs_info_handler() local
9357 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in dfs_info_handler()
9358 genlmsg_attrlen(gnlh, 0), NULL); in dfs_info_handler()
9524 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in get_key_handler() local
9526 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in get_key_handler()
9527 genlmsg_attrlen(gnlh, 0), NULL); in get_key_handler()
9671 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in get_sta_handler() local
9683 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in get_sta_handler()
9684 genlmsg_attrlen(gnlh, 0), NULL); in get_sta_handler()
10293 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl80211_wdev_handler() local
10297 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_wdev_handler()
10298 genlmsg_attrlen(gnlh, 0), NULL); in nl80211_wdev_handler()
10542 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in cookie_handler() local
10544 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in cookie_handler()
10545 genlmsg_attrlen(gnlh, 0), NULL); in cookie_handler()
11015 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in get_channel_width() local
11018 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in get_channel_width()
11019 genlmsg_attrlen(gnlh, 0), NULL); in get_channel_width()
11389 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in survey_handler() local
11402 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in survey_handler()
11403 genlmsg_attrlen(gnlh, 0), NULL); in survey_handler()
12341 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in cmd_reply_handler() local
12347 if ((size_t) genlmsg_attrlen(gnlh, 0) > wpabuf_tailroom(buf)) { in cmd_reply_handler()
12352 wpabuf_put_data(buf, genlmsg_attrdata(gnlh, 0), in cmd_reply_handler()
12353 genlmsg_attrlen(gnlh, 0)); in cmd_reply_handler()
12364 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in vendor_reply_handler() local
12371 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in vendor_reply_handler()
12372 genlmsg_attrlen(gnlh, 0), NULL); in vendor_reply_handler()