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

Commit 505c4923 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge edf2f435 on remote branch

Change-Id: I57b5dedfc9214217d602ad7bf51696021aa777cc
parents c8ee1adc edf2f435
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3507,6 +3507,7 @@ cppflags-$(CONFIG_WLAN_SUPPORT_DATA_STALL) += -DWLAN_SUPPORT_DATA_STALL
cppflags-$(CONFIG_WLAN_SUPPORT_TXRX_HL_BUNDLE) += -DWLAN_SUPPORT_TXRX_HL_BUNDLE
cppflags-$(CONFIG_QCN7605_PCIE_SHADOW_REG_SUPPORT) += -DQCN7605_PCIE_SHADOW_REG_SUPPORT
cppflags-$(CONFIG_MARK_ICMP_REQ_TO_FW) += -DWLAN_DP_FEATURE_MARK_ICMP_REQ_TO_FW
cppflags-$(CONFIG_WLAN_SKIP_BAR_UPDATE) += -DWLAN_SKIP_BAR_UPDATE

ifdef CONFIG_MAX_LOGS_PER_SEC
ccflags-y += -DWLAN_MAX_LOGS_PER_SEC=$(CONFIG_MAX_LOGS_PER_SEC)
+7 −2
Original line number Diff line number Diff line
@@ -253,16 +253,21 @@ ucfg_twt_get_all_peer_session_params(struct wlan_objmgr_psoc *psoc_obj,
		}

		if (opmode == QDF_STA_MODE &&
		    num_twt_session >= TWT_PEER_MAX_SESSIONS)
		    num_twt_session >= TWT_PEER_MAX_SESSIONS) {
			wlan_objmgr_peer_release_ref(peer, WLAN_CP_STATS_ID);
			goto done;
		}

		if (opmode == QDF_SAP_MODE &&
		    num_twt_session >= (sap_max_peer * TWT_PEER_MAX_SESSIONS))
		    num_twt_session >= (sap_max_peer * TWT_PEER_MAX_SESSIONS)) {
			wlan_objmgr_peer_release_ref(peer, WLAN_CP_STATS_ID);
			goto done;
		}

		peer_next = wlan_peer_get_next_active_peer_of_vdev(
							vdev, peer_list, peer,
							WLAN_CP_STATS_ID);
		wlan_objmgr_peer_release_ref(peer, WLAN_CP_STATS_ID);
		peer = peer_next;
	}

+2 −0
Original line number Diff line number Diff line
@@ -251,6 +251,7 @@ struct mscs_req_info {
 *			  requests from some IOT APs
 * @ba_2k_jump_iot_ap: This is set to true if connected to the ba 2k jump IOT AP
 * @bad_htc_he_iot_ap: Set to true if connected to AP who can't decode htc he
 * @is_usr_ps_enabled: Is Power save enabled
 */
struct mlme_legacy_priv {
	bool chan_switch_in_progress;
@@ -289,6 +290,7 @@ struct mlme_legacy_priv {
	qdf_time_t last_delba_sent_time;
	bool ba_2k_jump_iot_ap;
	bool bad_htc_he_iot_ap;
	bool is_usr_ps_enabled;
};


+19 −0
Original line number Diff line number Diff line
@@ -3175,4 +3175,23 @@ wlan_mlme_set_last_delba_sent_time(struct wlan_objmgr_vdev *vdev,
 */
qdf_time_t
wlan_mlme_get_last_delba_sent_time(struct wlan_objmgr_vdev *vdev);

/**
 * mlme_set_user_ps() - Set the PS user config
 * @vdev: Vdev object pointer
 * @ps_enable: User PS enable
 *
 * Return: QDF_STATUS
 */
QDF_STATUS mlme_set_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
			    bool ps_enable);

/**
 * mlme_get_user_ps() - Set the user ps flag
 * @psoc: Pointer to psoc object
 * @vdev_id: vdev id
 *
 * Return: True if user_ps flag is set
 */
bool mlme_get_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id);
#endif /* _WLAN_MLME_API_H_ */
+28 −0
Original line number Diff line number Diff line
@@ -4188,6 +4188,34 @@ ucfg_mlme_set_roam_reason_vsie_status(struct wlan_objmgr_psoc *psoc,

#endif

/**
 * ucfg_mlme_set_user_ps()  - Set the PS user config
 * @psoc: pointer to psoc object
 * @vdev_id: Vdev id
 * @ps_enable: Flag to indicate if user PS is enabled
 *
 * Return: QDF_STATUS
 */
static inline
QDF_STATUS ucfg_mlme_set_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
				 bool ps_enable)
{
	return mlme_set_user_ps(psoc, vdev_id, ps_enable);
}

/**
 * ucfg_mlme_get_user_ps()  - Get user PS flag
 * @psoc: pointer to psoc object
 * @vdev_id: Vdev id
 *
 * Return: True if user ps is enabled else false
 */
static inline
bool ucfg_mlme_get_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id)
{
	return mlme_get_user_ps(psoc, vdev_id);
}

/**
 * ucfg_mlme_is_sta_mon_conc_supported() - Check if STA + Monitor mode
 * concurrency is supported
Loading