Searched refs:rts_threshold (Results 1 – 8 of 8) sorted by relevance
| /Zephyr-latest/drivers/wifi/nrf_wifi/inc/ |
| D | wifi_mgmt.h | 74 unsigned int rts_threshold); 77 unsigned int *rts_threshold);
|
| /Zephyr-latest/modules/hostap/src/ |
| D | supp_api.h | 233 int supplicant_set_rts_threshold(const struct device *dev, unsigned int rts_threshold); 242 int supplicant_get_rts_threshold(const struct device *dev, unsigned int *rts_threshold);
|
| D | supp_api.c | 2029 int supplicant_set_rts_threshold(const struct device *dev, unsigned int rts_threshold) argument 2038 return wifi_mgmt_api->set_rts_threshold(dev, rts_threshold); 2041 int supplicant_get_rts_threshold(const struct device *dev, unsigned int *rts_threshold) argument 2050 return wifi_mgmt_api->get_rts_threshold(dev, rts_threshold);
|
| /Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
| D | wifi_mgmt.c | 995 unsigned int rts_threshold) in nrf_wifi_set_rts_threshold() argument 1028 if ((int)rts_threshold < -1) { in nrf_wifi_set_rts_threshold() 1033 LOG_ERR("%s: Invalid threshold value : %d", __func__, (int)rts_threshold); in nrf_wifi_set_rts_threshold() 1039 wiphy_info.rts_threshold = (int)rts_threshold; in nrf_wifi_set_rts_threshold() 1052 vif_ctx_zep->rts_threshold_value = (int)rts_threshold; in nrf_wifi_set_rts_threshold() 1062 unsigned int *rts_threshold) in nrf_wifi_get_rts_threshold() argument 1078 *rts_threshold = vif_ctx_zep->rts_threshold_value; in nrf_wifi_get_rts_threshold()
|
| /Zephyr-latest/subsys/net/l2/wifi/ |
| D | wifi_mgmt.c | 754 unsigned int *rts_threshold = data; in wifi_ap_set_rts_threshold() local 764 if (data == NULL || len != sizeof(*rts_threshold)) { in wifi_ap_set_rts_threshold() 768 return wifi_mgmt_api->set_rts_threshold(dev, *rts_threshold); in wifi_ap_set_rts_threshold() 1255 unsigned int *rts_threshold = data; in wifi_set_rts_threshold() local 1265 if (!data || len != sizeof(*rts_threshold)) { in wifi_set_rts_threshold() 1269 return wifi_mgmt_api->set_rts_threshold(dev, *rts_threshold); in wifi_set_rts_threshold() 1321 unsigned int *rts_threshold = data; in wifi_get_rts_threshold() local 1331 if (!data || len != sizeof(*rts_threshold)) { in wifi_get_rts_threshold() 1335 return wifi_mgmt_api->get_rts_threshold(dev, rts_threshold); in wifi_get_rts_threshold()
|
| D | wifi_shell.c | 2151 unsigned int rts_threshold = -1; /* Default value if user supplies "off" argument */ in cmd_wifi_ap_set_rts_threshold() local 2164 rts_threshold = (unsigned int)rts_val; in cmd_wifi_ap_set_rts_threshold() 2168 &rts_threshold, sizeof(rts_threshold))) { in cmd_wifi_ap_set_rts_threshold() 2174 if ((int)rts_threshold >= 0) in cmd_wifi_ap_set_rts_threshold() 2175 shell_fprintf(sh, SHELL_NORMAL, "RTS threshold: %d\n", rts_threshold); in cmd_wifi_ap_set_rts_threshold() 2463 unsigned int rts_threshold = -1; /* Default value if user supplies "off" argument */ in cmd_wifi_set_rts_threshold() local 2475 &rts_threshold, sizeof(rts_threshold))) { in cmd_wifi_set_rts_threshold() 2480 if ((int)rts_threshold < 0) { in cmd_wifi_set_rts_threshold() 2483 PR("RTS threshold: %d\n", rts_threshold); in cmd_wifi_set_rts_threshold() 2496 rts_threshold = (unsigned int)rts_val; in cmd_wifi_set_rts_threshold() [all …]
|
| /Zephyr-latest/drivers/wifi/nxp/ |
| D | nxp_wifi_drv.c | 1789 static int nxp_wifi_set_rts_threshold(const struct device *dev, unsigned int rts_threshold) in nxp_wifi_set_rts_threshold() argument 1794 if (rts_threshold == -1) { in nxp_wifi_set_rts_threshold() 1795 rts_threshold = MLAN_RTS_MAX_VALUE; in nxp_wifi_set_rts_threshold() 1798 ret = wlan_set_rts(rts_threshold); in nxp_wifi_set_rts_threshold() 1805 static int nxp_wifi_ap_set_rts_threshold(const struct device *dev, unsigned int rts_threshold) in nxp_wifi_ap_set_rts_threshold() argument 1810 if (rts_threshold == -1) { in nxp_wifi_ap_set_rts_threshold() 1811 rts_threshold = MLAN_RTS_MAX_VALUE; in nxp_wifi_ap_set_rts_threshold() 1814 ret = wlan_set_uap_rts(rts_threshold); in nxp_wifi_ap_set_rts_threshold()
|
| /Zephyr-latest/include/zephyr/net/ |
| D | wifi_mgmt.h | 1520 int (*set_rts_threshold)(const struct device *dev, unsigned int rts_threshold); 1565 int (*get_rts_threshold)(const struct device *dev, unsigned int *rts_threshold);
|