summaryrefslogtreecommitdiff
path: root/mac80211.h
blob: dea4ae0ff5864ec2a8d112d804c6b53dcc34614d (plain)
1
2
3
4
5
6
7
#ifndef MAC80211_H
#define MAC80211_H

extern void enter_rfmon_mac80211(const char *device, char **mondev);
extern void leave_rfmon_mac80211(const char *mondev);

#endif /* MAC80211_H */
/tr>mode:
authorStephan Olbrich <stephanolbrich@gmx.de>2016-02-14 11:04:29 +0100
committerMark Brown <broonie@kernel.org>2016-02-15 20:45:47 +0000
commite9dd4edcc98593bbcdffc0c4f37545b8fd0ad3ea (patch)
tree69d6cc2f8d528c87b0828401659ad6ec3f751965
parentb4e2adef62062cf716d1c81adc12ad6def516f72 (diff)
spi: bcm2835aux: fix CPOL/CPHA setting
The auxiliary spi supports only CPHA=0 modes as the first bit is always output to the pin before the first clock cycle. In CPHA=1 modes the first clock edge outputs the second bit hence the slave can never read the first bit. Also the CPHA registers switch between clocking data in/out on rising/falling edge hence depend on the CPOL setting. Signed-off-by: Stephan Olbrich <stephanolbrich@gmx.de> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat