Home
last modified time | relevance | path

Searched refs:RATE_MASK (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/staging/ks7010/
Dks_hostif.h484 #define RATE_MASK 0x7F macro
518 return (((rate & RATE_MASK) == TX_RATE_1M) || in is_11b_rate()
519 ((rate & RATE_MASK) == TX_RATE_2M) || in is_11b_rate()
520 ((rate & RATE_MASK) == TX_RATE_5M) || in is_11b_rate()
521 ((rate & RATE_MASK) == TX_RATE_11M)); in is_11b_rate()
526 return (((rate & RATE_MASK) == TX_RATE_6M) || in is_ofdm_rate()
527 ((rate & RATE_MASK) == TX_RATE_12M) || in is_ofdm_rate()
528 ((rate & RATE_MASK) == TX_RATE_24M) || in is_ofdm_rate()
529 ((rate & RATE_MASK) == TX_RATE_9M) || in is_ofdm_rate()
530 ((rate & RATE_MASK) == TX_RATE_18M) || in is_ofdm_rate()
[all …]
Dks_hostif.c937 priv->current_rate = (link_speed & RATE_MASK); in hostif_phy_information_confirm()
1821 if ((priv->reg.rate_set.body[i] & RATE_MASK) >= TX_RATE_5M) { in hostif_sme_mode_setup()
1823 RATE_MASK; in hostif_sme_mode_setup()
1836 RATE_MASK; in hostif_sme_mode_setup()
Dks_wlan_net.c649 vwrq->bitrate.value = ((priv->current_rate) & RATE_MASK) * 500000; in ks_wlan_get_rate()