Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b52ce406 authored by Ashish Kumar Dhanotiya's avatar Ashish Kumar Dhanotiya
Browse files

wlan: Disable per packet tx rx and connect event logging

Driver is returning per packet tx rx and connect event
logging supported for the vendor command
QCA_NL80211_VENDOR_SUBCMD_GET_LOGGER_FEATURE_SET. With
android Q upgrade memory requirement is increased.
Disable per packet tx rx and connect event logging to
fulfill the increased memory requirement.

Change-Id: I268bafcc680b8bffe00642021587926e6aa49cc5
CRs-Fixed: 2528584
parent 747e9cea
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -8559,13 +8559,6 @@ __wlan_hdd_cfg80211_get_logger_supp_feature(struct wiphy *wiphy,
	if (hdd_is_memdump_supported())
		features |= WIFI_LOGGER_MEMORY_DUMP_SUPPORTED;
	if (hdd_ctx->cfg_ini->wlanLoggingEnable &&
	    hdd_ctx->cfg_ini->enableFatalEvent &&
	    hdd_ctx->is_fatal_event_log_sup) {
		features |= WIFI_LOGGER_PER_PACKET_TX_RX_STATUS_SUPPORTED;
		features |= WIFI_LOGGER_CONNECT_EVENT_SUPPORTED;
	}
	reply_skb = cfg80211_vendor_cmd_alloc_reply_skb(wiphy,
			sizeof(uint32_t) + NLA_HDRLEN + NLMSG_HDRLEN);
	if (!reply_skb) {