Add EDMG bandwidth to channel frequency APIs
Add EDMG bandwidth to CHANWIDTH_ defines. Update API ieee80211_freq_to_channel_ext() to support EDMG bandwidth for EDMG channels. Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
This commit is contained in:
parent
46cb161a81
commit
a19277a28b
4 changed files with 79 additions and 23 deletions
|
@ -524,6 +524,10 @@ static int calculate_chan_offset(int width, int freq, int cf1, int cf2)
|
|||
break;
|
||||
case CHAN_WIDTH_UNKNOWN:
|
||||
case CHAN_WIDTH_80P80:
|
||||
case CHAN_WIDTH_2160:
|
||||
case CHAN_WIDTH_4320:
|
||||
case CHAN_WIDTH_6480:
|
||||
case CHAN_WIDTH_8640:
|
||||
/* FIXME: implement this */
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue