Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/board/rtl8721csm: wlan add set tx data rate api #5283

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions os/board/rtl8721csm/src/component/common/api/wifi/wifi_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2863,4 +2863,33 @@ int wifi_set_null1_param(uint8_t check_period, uint8_t limit, uint8_t interval)
}
#endif

/*
Data rate input table
0x00->1M
0x01->2M
0x02->5.5M
0x03->11M
0x04->6M
0x05->9M
0x06->12M
0x07->18M
0x08->24M
0x09->36M
0x0a->48M
0x0b->54M
0x0c->6.5M
0x0d->13M
0x0e->19.5M
0x0f->26M
0x10->39M
0x11->52M
0x12->58.5M
0x13->65M
0xFF->back to auto data rate adaptation
*/
int wifi_set_tx_data_rate(uint8_t data_rate)
{
return rltk_wlan_set_tx_data_rate(data_rate);
}

#endif //#if CONFIG_WLAN
Binary file modified os/board/rtl8721csm/src/libs/lib_wlan.a
Binary file not shown.
Binary file modified os/board/rtl8721csm/src/libs/lib_wlan_fpu.a
Binary file not shown.
Binary file modified os/board/rtl8721csm/src/libs/lib_wps.a
Binary file not shown.
Binary file modified os/board/rtl8721csm/src/libs/lib_wps_fpu.a
Binary file not shown.