Home
last modified time | relevance | path

Searched refs:subsc_evt (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmdresp.c100 struct mwifiex_ds_misc_subsc_evt *subsc_evt = in mwifiex_ret_802_11_rssi_info() local
118 memset(subsc_evt, 0x00, sizeof(struct mwifiex_ds_misc_subsc_evt)); in mwifiex_ret_802_11_rssi_info()
121 subsc_evt->events = BITMASK_BCN_RSSI_LOW | BITMASK_BCN_RSSI_HIGH; in mwifiex_ret_802_11_rssi_info()
122 subsc_evt->action = HostCmd_ACT_BITWISE_SET; in mwifiex_ret_802_11_rssi_info()
124 subsc_evt->bcn_l_rssi_cfg.abs_value = abs(priv->bcn_rssi_avg - in mwifiex_ret_802_11_rssi_info()
126 subsc_evt->bcn_h_rssi_cfg.abs_value = abs(priv->cqm_rssi_thold); in mwifiex_ret_802_11_rssi_info()
128 subsc_evt->bcn_l_rssi_cfg.abs_value = abs(priv->cqm_rssi_thold); in mwifiex_ret_802_11_rssi_info()
129 subsc_evt->bcn_h_rssi_cfg.abs_value = abs(priv->bcn_rssi_avg + in mwifiex_ret_802_11_rssi_info()
132 subsc_evt->bcn_l_rssi_cfg.evt_freq = 1; in mwifiex_ret_802_11_rssi_info()
133 subsc_evt->bcn_h_rssi_cfg.evt_freq = 1; in mwifiex_ret_802_11_rssi_info()
[all …]
H A Dcfg80211.c1807 struct mwifiex_ds_misc_subsc_evt subsc_evt; in mwifiex_cfg80211_set_cqm_rssi_config() local
1812 memset(&subsc_evt, 0x00, sizeof(struct mwifiex_ds_misc_subsc_evt)); in mwifiex_cfg80211_set_cqm_rssi_config()
1813 subsc_evt.events = BITMASK_BCN_RSSI_LOW | BITMASK_BCN_RSSI_HIGH; in mwifiex_cfg80211_set_cqm_rssi_config()
1817 subsc_evt.action = HostCmd_ACT_BITWISE_SET; in mwifiex_cfg80211_set_cqm_rssi_config()
1818 subsc_evt.bcn_l_rssi_cfg.abs_value = abs(rssi_thold); in mwifiex_cfg80211_set_cqm_rssi_config()
1819 subsc_evt.bcn_h_rssi_cfg.abs_value = abs(rssi_thold); in mwifiex_cfg80211_set_cqm_rssi_config()
1820 subsc_evt.bcn_l_rssi_cfg.evt_freq = 1; in mwifiex_cfg80211_set_cqm_rssi_config()
1821 subsc_evt.bcn_h_rssi_cfg.evt_freq = 1; in mwifiex_cfg80211_set_cqm_rssi_config()
1824 0, 0, &subsc_evt, true); in mwifiex_cfg80211_set_cqm_rssi_config()
1826 subsc_evt.action = HostCmd_ACT_BITWISE_CLR; in mwifiex_cfg80211_set_cqm_rssi_config()
[all …]
H A Dsta_cmd.c1282 struct host_cmd_ds_802_11_subsc_evt *subsc_evt = &cmd->params.subsc_evt; in mwifiex_cmd_802_11_subsc_evt() local
1291 subsc_evt->action = cpu_to_le16(subsc_evt_cfg->action); in mwifiex_cmd_802_11_subsc_evt()
1299 subsc_evt->events = cpu_to_le16(subsc_evt_cfg->events); in mwifiex_cmd_802_11_subsc_evt()
1322 pos = ((u8 *)subsc_evt) + in mwifiex_cmd_802_11_subsc_evt()
H A Dfw.h2362 struct host_cmd_ds_802_11_subsc_evt subsc_evt; member