Home
last modified time | relevance | path

Searched refs:rts_threshold (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/wifi/nrf_wifi/inc/
Dwifi_mgmt.h74 unsigned int rts_threshold);
77 unsigned int *rts_threshold);
/Zephyr-latest/modules/hostap/src/
Dsupp_api.h233 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);
Dsupp_api.c1949 int supplicant_set_rts_threshold(const struct device *dev, unsigned int rts_threshold) argument
1958 return wifi_mgmt_api->set_rts_threshold(dev, rts_threshold);
1961 int supplicant_get_rts_threshold(const struct device *dev, unsigned int *rts_threshold) argument
1970 return wifi_mgmt_api->get_rts_threshold(dev, rts_threshold);
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt.c991 unsigned int rts_threshold) in nrf_wifi_set_rts_threshold() argument
1024 if ((int)rts_threshold < -1) { in nrf_wifi_set_rts_threshold()
1029 LOG_ERR("%s: Invalid threshold value : %d", __func__, (int)rts_threshold); in nrf_wifi_set_rts_threshold()
1035 wiphy_info.rts_threshold = (int)rts_threshold; in nrf_wifi_set_rts_threshold()
1048 vif_ctx_zep->rts_threshold_value = (int)rts_threshold; in nrf_wifi_set_rts_threshold()
1058 unsigned int *rts_threshold) in nrf_wifi_get_rts_threshold() argument
1074 *rts_threshold = vif_ctx_zep->rts_threshold_value; in nrf_wifi_get_rts_threshold()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_mgmt.c698 unsigned int *rts_threshold = data; in wifi_ap_set_rts_threshold() local
704 if (data == NULL || len != sizeof(*rts_threshold)) { in wifi_ap_set_rts_threshold()
708 return wifi_mgmt_api->set_rts_threshold(dev, *rts_threshold); in wifi_ap_set_rts_threshold()
1145 unsigned int *rts_threshold = data; in wifi_set_rts_threshold() local
1151 if (!data || len != sizeof(*rts_threshold)) { in wifi_set_rts_threshold()
1155 return wifi_mgmt_api->set_rts_threshold(dev, *rts_threshold); in wifi_set_rts_threshold()
1199 unsigned int *rts_threshold = data; in wifi_get_rts_threshold() local
1205 if (!data || len != sizeof(*rts_threshold)) { in wifi_get_rts_threshold()
1209 return wifi_mgmt_api->get_rts_threshold(dev, rts_threshold); in wifi_get_rts_threshold()
Dwifi_shell.c2116 unsigned int rts_threshold = -1; /* Default value if user supplies "off" argument */ in cmd_wifi_ap_set_rts_threshold() local
2129 rts_threshold = (unsigned int)rts_val; in cmd_wifi_ap_set_rts_threshold()
2133 &rts_threshold, sizeof(rts_threshold))) { in cmd_wifi_ap_set_rts_threshold()
2139 if ((int)rts_threshold >= 0) in cmd_wifi_ap_set_rts_threshold()
2140 shell_fprintf(sh, SHELL_NORMAL, "RTS threshold: %d\n", rts_threshold); in cmd_wifi_ap_set_rts_threshold()
2430 unsigned int rts_threshold = -1; /* Default value if user supplies "off" argument */ in cmd_wifi_set_rts_threshold() local
2442 &rts_threshold, sizeof(rts_threshold))) { in cmd_wifi_set_rts_threshold()
2447 if ((int)rts_threshold < 0) { in cmd_wifi_set_rts_threshold()
2450 PR("RTS threshold: %d\n", rts_threshold); in cmd_wifi_set_rts_threshold()
2463 rts_threshold = (unsigned int)rts_val; in cmd_wifi_set_rts_threshold()
[all …]
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c1543 static int nxp_wifi_set_rts_threshold(const struct device *dev, unsigned int rts_threshold) in nxp_wifi_set_rts_threshold() argument
1548 if (rts_threshold == -1) { in nxp_wifi_set_rts_threshold()
1549 rts_threshold = MLAN_RTS_MAX_VALUE; in nxp_wifi_set_rts_threshold()
1552 ret = wlan_set_rts(rts_threshold); in nxp_wifi_set_rts_threshold()
1558 static int nxp_wifi_ap_set_rts_threshold(const struct device *dev, unsigned int rts_threshold) in nxp_wifi_ap_set_rts_threshold() argument
1563 if (rts_threshold == -1) { in nxp_wifi_ap_set_rts_threshold()
1564 rts_threshold = MLAN_RTS_MAX_VALUE; in nxp_wifi_ap_set_rts_threshold()
1567 ret = wlan_set_uap_rts(rts_threshold); in nxp_wifi_ap_set_rts_threshold()
/Zephyr-latest/include/zephyr/net/
Dwifi_mgmt.h1519 int (*set_rts_threshold)(const struct device *dev, unsigned int rts_threshold);
1564 int (*get_rts_threshold)(const struct device *dev, unsigned int *rts_threshold);