staying in carrier search (bool enable)
enable TRUE
- Initialize a 2-element u16 array clip to 0xFFFF, 0xFFFF
if nphy_deaf_count is 0
Call N PHY Classifier with 0, 0 as arguments and save as classifier_state
Call N PHY Classifier with arguments 0x7, 0
Call N PHY Clip Detection with arguments 0, clip_state
Call N PHY Clip Detection with arguments 1, clip
Increase nphy_deaf_count
Call N PHY Reset CCA
disable (enable FALSE)
decrease nphy_deaf_count (probably a refcount?)
- if it reached zero
Call N PHY Classifier with 0x7, classifier_state as arguments
Call N PHY Clip Detection with 1, clip_state as arguments