iwp_rate_to_plcp
static uint8_t iwp_rate_to_plcp(int);
tx->rate.r.rate_n_flags = LE_32(iwp_rate_to_plcp(rate) | masks);
hdr->tx_cmd.rate.r.rate_n_flags = LE_32(iwp_rate_to_plcp(2));