File tree Expand file tree Collapse file tree 5 files changed +17
-1
lines changed Expand file tree Collapse file tree 5 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,13 @@ config SCAN_AP_MAX
49
49
50
50
User can use own function "esp_wifi_scan_get_ap_num_max" to determin how many AP to scan , too.
51
51
52
+ config WIFI_TX_RATE_SEQUENCE_FROM_HIGH
53
+ bool "Set wifi tx rate from 54M to 1M"
54
+ default n
55
+ help
56
+ If this option is enabled, Wifi will try to send packets first from high rate(54M). If it fails, it will
57
+ try at low rate until the transmission is successful.
58
+
52
59
endmenu
53
60
54
61
menu PHY
Original file line number Diff line number Diff line change 3
3
espnow: 8943c89
4
4
core: f4f0d3d
5
5
net80211: 80fc165
6
- pp: 06e0988
6
+ pp: 09345a6
7
7
pwm: 0181338
8
8
smartconfig:8d61f0e
9
9
wpa: f59f0e0
Original file line number Diff line number Diff line change @@ -56,3 +56,11 @@ size_t __attribute__((weak)) esp_wifi_scan_get_ap_num_max(void)
56
56
{
57
57
return CONFIG_SCAN_AP_MAX ;
58
58
}
59
+
60
+ bool IRAM_ATTR esp_wifi_try_rate_from_high (void ) {
61
+ #if CONFIG_WIFI_TX_RATE_SEQUENCE_FROM_HIGH
62
+ return true;
63
+ #else
64
+ return false;
65
+ #endif
66
+ }
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ config LWIP_HIGH_THROUGHPUT
10
10
select TCP_QUEUE_OOSEQ
11
11
select TCP_HIGH_SPEED_RETRANSMISSION
12
12
select SOC_FULL_ICACHE
13
+ select WIFI_TX_RATE_SEQUENCE_FROM_HIGH
13
14
help
14
15
Enable this option, also enable "TCP_QUEUE_OOSEQ", "TCP_HIGH_SPEED_RETRANSMISSION" and
15
16
"SOC_FULL_ICACHE", so lwip should cache TCP message received in disorder sequence and
You can’t perform that action at this time.
0 commit comments