User Tools

Site Tools


en:users:documentation:acs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
en:users:documentation:acs [2015/01/26 09:49]
127.0.0.1 external edit
en:users:documentation:acs [2015/05/15 09:49]
Rafał Miłecki [Driver implementation details] Fix typo in RX time enums
Line 176: Line 176:
 ACS:  * channel 13: total interference = 0.0680776 ACS:  * channel 13: total interference = 0.0680776
 ACS: Ideal channel is 13 (2472 MHz) with total interference factor of 0.0680776</​code>​ ACS: Ideal channel is 13 (2472 MHz) with total interference factor of 0.0680776</​code>​
 +
 +===== Driver implementation details =====
 +
 +User space can get survey using ''​NL80211_CMD_GET_SURVEY''​ command. It requires:
 +  * ''​cfg80211''​ drivers to implement ''​dump_survey''​ callback
 +  * ''​mac80211''​ drivers to implement ''​get_survey''​ callback
 +
 +As explained is algorithm section, driver needs to provide (fill) few different informations about a channel:
 +  * Noise floor (''​SURVEY_INFO_NOISE_DBM''​) put into ''​NL80211_SURVEY_INFO_NOISE''​
 +  * Channel time (''​SURVEY_INFO_TIME''​) put into ''​NL80211_SURVEY_INFO_TIME''​
 +  * Time of channel unavailability which is **one** of:
 +    * RX time (''​SURVEY_INFO_TIME_RX''​) put into ''​NL80211_SURVEY_INFO_TIME_RX''​
 +    * Busy time (''​SURVEY_INFO_TIME_BUSY''​) put into ''​NL80211_SURVEY_INFO_TIME_BUSY''​
  
 ===== Hostapd setup ===== ===== Hostapd setup =====
en/users/documentation/acs.txt · Last modified: 2021/03/01 04:28 by Nikolas Nyby