Found 2 other functions taking a
wifi_tx_rate_config_t
argument:
Config 80211 tx rate and phymode of specified interface @attention 1. This API should be called after esp_wifi_init() and before esp_wifi_start().
Set ESPNOW rate config for each peer @attention 1. This API should be called after esp_wifi_start() and esp_now_init().