Lines Matching refs:attr

330 	int response_type, attr;  in osif_twt_setup_pack_resp_nlmsg()  local
351 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_FLOW_ID; in osif_twt_setup_pack_resp_nlmsg()
352 if (nla_put_u8(reply_skb, attr, event->params.dialog_id)) { in osif_twt_setup_pack_resp_nlmsg()
357 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_STATUS; in osif_twt_setup_pack_resp_nlmsg()
360 if (nla_put_u8(reply_skb, attr, vendor_status)) { in osif_twt_setup_pack_resp_nlmsg()
377 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_RESP_TYPE; in osif_twt_setup_pack_resp_nlmsg()
378 if (nla_put_u8(reply_skb, attr, response_type)) { in osif_twt_setup_pack_resp_nlmsg()
383 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_FLOW_TYPE; in osif_twt_setup_pack_resp_nlmsg()
384 if (nla_put_u8(reply_skb, attr, event->additional_params.announce)) { in osif_twt_setup_pack_resp_nlmsg()
393 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_DURATION; in osif_twt_setup_pack_resp_nlmsg()
394 if (nla_put_u32(reply_skb, attr, wake_duration)) { in osif_twt_setup_pack_resp_nlmsg()
410 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL_MANTISSA; in osif_twt_setup_pack_resp_nlmsg()
411 if (nla_put_u32(reply_skb, attr, wake_intvl_mantis_tu)) { in osif_twt_setup_pack_resp_nlmsg()
418 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_INTVL_EXP; in osif_twt_setup_pack_resp_nlmsg()
419 if (nla_put_u8(reply_skb, attr, 0)) { in osif_twt_setup_pack_resp_nlmsg()
424 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_TIME_TSF; in osif_twt_setup_pack_resp_nlmsg()
425 if (wlan_cfg80211_nla_put_u64(reply_skb, attr, sp_offset_tsf)) { in osif_twt_setup_pack_resp_nlmsg()
430 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_WAKE_TIME; in osif_twt_setup_pack_resp_nlmsg()
431 if (nla_put_u32(reply_skb, attr, in osif_twt_setup_pack_resp_nlmsg()
438 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_TRIGGER; in osif_twt_setup_pack_resp_nlmsg()
439 if (nla_put_flag(reply_skb, attr)) { in osif_twt_setup_pack_resp_nlmsg()
446 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_PROTECTION; in osif_twt_setup_pack_resp_nlmsg()
447 if (nla_put_flag(reply_skb, attr)) { in osif_twt_setup_pack_resp_nlmsg()
454 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_BCAST; in osif_twt_setup_pack_resp_nlmsg()
455 if (nla_put_flag(reply_skb, attr)) { in osif_twt_setup_pack_resp_nlmsg()
462 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_TWT_INFO_ENABLED; in osif_twt_setup_pack_resp_nlmsg()
463 if (nla_put_flag(reply_skb, attr)) { in osif_twt_setup_pack_resp_nlmsg()
469 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_MAC_ADDR; in osif_twt_setup_pack_resp_nlmsg()
470 if (nla_put(reply_skb, attr, QDF_MAC_ADDR_SIZE, in osif_twt_setup_pack_resp_nlmsg()
514 int attr; in osif_twt_notify_pack_nlmsg() local
530 attr = QCA_WLAN_VENDOR_ATTR_CONFIG_TWT_NOTIFY_STATUS; in osif_twt_notify_pack_nlmsg()
533 if (nla_put_u8(reply_skb, attr, vendor_status)) { in osif_twt_notify_pack_nlmsg()
556 int attr; in osif_twt_teardown_pack_resp_nlmsg() local
571 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_FLOW_ID; in osif_twt_teardown_pack_resp_nlmsg()
572 if (nla_put_u8(reply_skb, attr, event->dialog_id)) { in osif_twt_teardown_pack_resp_nlmsg()
577 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_STATUS; in osif_twt_teardown_pack_resp_nlmsg()
579 if (nla_put_u8(reply_skb, attr, vendor_status)) { in osif_twt_teardown_pack_resp_nlmsg()
584 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_MAC_ADDR; in osif_twt_teardown_pack_resp_nlmsg()
585 if (nla_put(reply_skb, attr, QDF_MAC_ADDR_SIZE, in osif_twt_teardown_pack_resp_nlmsg()
609 int vendor_status, attr; in osif_twt_resume_pack_resp_nlmsg() local
624 attr = QCA_WLAN_VENDOR_ATTR_TWT_RESUME_FLOW_ID; in osif_twt_resume_pack_resp_nlmsg()
625 if (nla_put_u8(reply_skb, attr, event->dialog_id)) { in osif_twt_resume_pack_resp_nlmsg()
630 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_STATUS; in osif_twt_resume_pack_resp_nlmsg()
632 if (nla_put_u8(reply_skb, attr, vendor_status)) { in osif_twt_resume_pack_resp_nlmsg()
637 attr = QCA_WLAN_VENDOR_ATTR_TWT_RESUME_MAC_ADDR; in osif_twt_resume_pack_resp_nlmsg()
638 if (nla_put(reply_skb, attr, QDF_MAC_ADDR_SIZE, in osif_twt_resume_pack_resp_nlmsg()
662 int vendor_status, attr; in osif_twt_nudge_pack_resp_nlmsg() local
678 attr = QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_FLOW_ID; in osif_twt_nudge_pack_resp_nlmsg()
679 if (nla_put_u8(reply_skb, attr, event->dialog_id)) { in osif_twt_nudge_pack_resp_nlmsg()
693 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_STATUS; in osif_twt_nudge_pack_resp_nlmsg()
695 if (nla_put_u8(reply_skb, attr, vendor_status)) { in osif_twt_nudge_pack_resp_nlmsg()
700 attr = QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_MAC_ADDR; in osif_twt_nudge_pack_resp_nlmsg()
701 if (nla_put(reply_skb, attr, QDF_MAC_ADDR_SIZE, in osif_twt_nudge_pack_resp_nlmsg()
1222 int vendor_status, attr; in osif_twt_pause_pack_resp_nlmsg() local
1237 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_FLOW_ID; in osif_twt_pause_pack_resp_nlmsg()
1238 if (nla_put_u8(reply_skb, attr, event->dialog_id)) { in osif_twt_pause_pack_resp_nlmsg()
1243 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_STATUS; in osif_twt_pause_pack_resp_nlmsg()
1245 if (nla_put_u8(reply_skb, attr, vendor_status)) { in osif_twt_pause_pack_resp_nlmsg()
1250 attr = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_MAC_ADDR; in osif_twt_pause_pack_resp_nlmsg()
1251 if (nla_put(reply_skb, attr, QDF_MAC_ADDR_SIZE, in osif_twt_pause_pack_resp_nlmsg()
1415 int i, attr; in osif_twt_pack_get_stats_resp_nlmsg() local
1434 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_MAC_ADDR; in osif_twt_pack_get_stats_resp_nlmsg()
1435 if (nla_put(reply_skb, attr, QDF_MAC_ADDR_SIZE, in osif_twt_pack_get_stats_resp_nlmsg()
1444 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_FLOW_ID; in osif_twt_pack_get_stats_resp_nlmsg()
1445 if (nla_put_u8(reply_skb, attr, params[i].dialog_id)) { in osif_twt_pack_get_stats_resp_nlmsg()
1453 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_SESSION_WAKE_DURATION; in osif_twt_pack_get_stats_resp_nlmsg()
1454 if (nla_put_u32(reply_skb, attr, duration)) { in osif_twt_pack_get_stats_resp_nlmsg()
1463 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_NUM_SP_ITERATIONS; in osif_twt_pack_get_stats_resp_nlmsg()
1464 if (nla_put_u32(reply_skb, attr, params[i].num_sp_cycles)) { in osif_twt_pack_get_stats_resp_nlmsg()
1469 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVG_WAKE_DURATION; in osif_twt_pack_get_stats_resp_nlmsg()
1470 if (nla_put_u32(reply_skb, attr, params[i].avg_sp_dur_us)) { in osif_twt_pack_get_stats_resp_nlmsg()
1475 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_MIN_WAKE_DURATION; in osif_twt_pack_get_stats_resp_nlmsg()
1476 if (nla_put_u32(reply_skb, attr, params[i].min_sp_dur_us)) { in osif_twt_pack_get_stats_resp_nlmsg()
1481 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_MAX_WAKE_DURATION; in osif_twt_pack_get_stats_resp_nlmsg()
1482 if (nla_put_u32(reply_skb, attr, params[i].max_sp_dur_us)) { in osif_twt_pack_get_stats_resp_nlmsg()
1487 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVERAGE_TX_MPDU; in osif_twt_pack_get_stats_resp_nlmsg()
1488 if (nla_put_u32(reply_skb, attr, params[i].tx_mpdu_per_sp)) { in osif_twt_pack_get_stats_resp_nlmsg()
1493 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVERAGE_RX_MPDU; in osif_twt_pack_get_stats_resp_nlmsg()
1494 if (nla_put_u32(reply_skb, attr, params[i].rx_mpdu_per_sp)) { in osif_twt_pack_get_stats_resp_nlmsg()
1499 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVERAGE_TX_PACKET_SIZE; in osif_twt_pack_get_stats_resp_nlmsg()
1500 if (nla_put_u32(reply_skb, attr, params[i].tx_bytes_per_sp)) { in osif_twt_pack_get_stats_resp_nlmsg()
1505 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_AVERAGE_RX_PACKET_SIZE; in osif_twt_pack_get_stats_resp_nlmsg()
1506 if (nla_put_u32(reply_skb, attr, params[i].rx_bytes_per_sp)) { in osif_twt_pack_get_stats_resp_nlmsg()
1511 attr = QCA_WLAN_VENDOR_ATTR_TWT_STATS_STATUS; in osif_twt_pack_get_stats_resp_nlmsg()
1514 if (nla_put_u32(reply_skb, attr, vendor_status)) { in osif_twt_pack_get_stats_resp_nlmsg()