|
@@ -7601,6 +7601,17 @@ static int wlan_hdd_cfg80211_sap_configuration_set(struct wiphy *wiphy,
|
|
QCA_WLAN_VENDOR_ATTR_ICMP6_RX_MULTICAST_CNT
|
|
QCA_WLAN_VENDOR_ATTR_ICMP6_RX_MULTICAST_CNT
|
|
#define PARAM_OTHER_RX_MULTICAST_CNT \
|
|
#define PARAM_OTHER_RX_MULTICAST_CNT \
|
|
QCA_WLAN_VENDOR_ATTR_OTHER_RX_MULTICAST_CNT
|
|
QCA_WLAN_VENDOR_ATTR_OTHER_RX_MULTICAST_CNT
|
|
|
|
+#define PARAM_RSSI_BREACH_CNT \
|
|
|
|
+ QCA_WLAN_VENDOR_ATTR_RSSI_BREACH_CNT
|
|
|
|
+#define PARAM_LOW_RSSI_CNT \
|
|
|
|
+ QCA_WLAN_VENDOR_ATTR_LOW_RSSI_CNT
|
|
|
|
+#define PARAM_GSCAN_CNT \
|
|
|
|
+ QCA_WLAN_VENDOR_ATTR_GSCAN_CNT
|
|
|
|
+#define PARAM_PNO_COMPLETE_CNT \
|
|
|
|
+ QCA_WLAN_VENDOR_ATTR_PNO_COMPLETE_CNT
|
|
|
|
+#define PARAM_PNO_MATCH_CNT \
|
|
|
|
+ QCA_WLAN_VENDOR_ATTR_PNO_MATCH_CNT
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -7652,6 +7663,16 @@ static uint32_t hdd_send_wakelock_stats(hdd_context_t *hdd_ctx,
|
|
hdd_info("wow_icmpv4_count %d", data->wow_icmpv4_count);
|
|
hdd_info("wow_icmpv4_count %d", data->wow_icmpv4_count);
|
|
hdd_info("wow_icmpv6_count %d",
|
|
hdd_info("wow_icmpv6_count %d",
|
|
data->wow_icmpv6_count);
|
|
data->wow_icmpv6_count);
|
|
|
|
+ hdd_info("wow_rssi_breach_wake_up_count %d",
|
|
|
|
+ data->wow_rssi_breach_wake_up_count);
|
|
|
|
+ hdd_info("wow_low_rssi_wake_up_count %d",
|
|
|
|
+ data->wow_low_rssi_wake_up_count);
|
|
|
|
+ hdd_info("wow_gscan_wake_up_count %d",
|
|
|
|
+ data->wow_gscan_wake_up_count);
|
|
|
|
+ hdd_info("wow_pno_complete_wake_up_count %d",
|
|
|
|
+ data->wow_pno_complete_wake_up_count);
|
|
|
|
+ hdd_info("wow_pno_match_wake_up_count %d",
|
|
|
|
+ data->wow_pno_match_wake_up_count);
|
|
|
|
|
|
ipv6_rx_multicast_addr_cnt =
|
|
ipv6_rx_multicast_addr_cnt =
|
|
data->wow_ipv6_mcast_wake_up_count;
|
|
data->wow_ipv6_mcast_wake_up_count;
|
|
@@ -7696,7 +7717,17 @@ static uint32_t hdd_send_wakelock_stats(hdd_context_t *hdd_ctx,
|
|
data->wow_ipv4_mcast_wake_up_count) ||
|
|
data->wow_ipv4_mcast_wake_up_count) ||
|
|
nla_put_u32(skb, PARAM_ICMP6_RX_MULTICAST_CNT,
|
|
nla_put_u32(skb, PARAM_ICMP6_RX_MULTICAST_CNT,
|
|
ipv6_rx_multicast_addr_cnt) ||
|
|
ipv6_rx_multicast_addr_cnt) ||
|
|
- nla_put_u32(skb, PARAM_OTHER_RX_MULTICAST_CNT, 0)) {
|
|
|
|
|
|
+ nla_put_u32(skb, PARAM_OTHER_RX_MULTICAST_CNT, 0) ||
|
|
|
|
+ nla_put_u32(skb, PARAM_RSSI_BREACH_CNT,
|
|
|
|
+ data->wow_rssi_breach_wake_up_count) ||
|
|
|
|
+ nla_put_u32(skb, PARAM_LOW_RSSI_CNT,
|
|
|
|
+ data->wow_low_rssi_wake_up_count) ||
|
|
|
|
+ nla_put_u32(skb, PARAM_GSCAN_CNT,
|
|
|
|
+ data->wow_gscan_wake_up_count) ||
|
|
|
|
+ nla_put_u32(skb, PARAM_PNO_COMPLETE_CNT,
|
|
|
|
+ data->wow_pno_complete_wake_up_count) ||
|
|
|
|
+ nla_put_u32(skb, PARAM_PNO_MATCH_CNT,
|
|
|
|
+ data->wow_pno_match_wake_up_count)) {
|
|
hdd_err("nla put fail");
|
|
hdd_err("nla put fail");
|
|
goto nla_put_failure;
|
|
goto nla_put_failure;
|
|
}
|
|
}
|