1. 28 Feb, 2018 5 commits
    • Lorenzo Bianconi's avatar
      mt7601u: set device mac address in mt7601u_add_interface() · 032a552e
      Lorenzo Bianconi authored
      If mac80211 adds a vif with a different mac address respect to
      the eeprom one, the device will not be able to connect to the ap
      since the hw address has not been updated.
      Fix the issue updating hw mac address in mt7601u_add_interface routine
      
      BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1516935Signed-off-by: default avatarLorenzo Bianconi <lorenzo.bianconi@redhat.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      032a552e
    • Lorenzo Bianconi's avatar
      mt7601u: move mt7601u_set_macaddr in mac related code · e96826bd
      Lorenzo Bianconi authored
      Remove static qualifier from mt7601u_set_macaddr routine and move it
      in mac related code in order to be used to properly support vif with
      different mac address respect to the default one
      Signed-off-by: default avatarLorenzo Bianconi <lorenzo.bianconi@redhat.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      e96826bd
    • Lorenzo Bianconi's avatar
      mt76x2: remove warnings in mt76x2_mac_write_txwi() · 09e93f28
      Lorenzo Bianconi authored
      Fix following sparse warnings in mt76x2_mac_write_txwi:
      - drivers/net/wireless/mediatek/mt76/mt76x2_mac.c:201:26: warning:
        incorrect type in assignment (different base types)
      - drivers/net/wireless/mediatek/mt76/mt76x2_mac.c:201:26: expected
        restricted __le32 [usertype] iv
      - drivers/net/wireless/mediatek/mt76/mt76x2_mac.c:201:26: got unsigned
        int [unsigned] [usertype] <noident>
      - drivers/net/wireless/mediatek/mt76/mt76x2_mac.c:202:27: warning:
        incorrect type in assignment (different base types)
      - drivers/net/wireless/mediatek/mt76/mt76x2_mac.c:202:27: expected
        restricted __le32 [usertype] eiv
      - drivers/net/wireless/mediatek/mt76/mt76x2_mac.c:202:27: got unsigned
        int [unsigned] [usertype] <noident>
      
      Fixes: 23405236 ("mt76: fix transmission of encrypted management frames")
      Signed-off-by: default avatarLorenzo Bianconi <lorenzo.bianconi@redhat.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      09e93f28
    • Matt Redfearn's avatar
      ssb: Prevent build of PCI host features in module · 882164a4
      Matt Redfearn authored
      Attempting to build ssb.ko with CONFIG_SSB_DRIVER_PCICORE=y results in
      a build error due to use of symbols not exported from vmlinux:
      
      ERROR: "pcibios_enable_device" [drivers/ssb/ssb.ko] undefined!
      ERROR: "register_pci_controller" [drivers/ssb/ssb.ko] undefined!
      make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1
      
      To prevent this, don't allow the host mode feature to be built if
      CONFIG_SSB=m
      Signed-off-by: default avatarMatt Redfearn <matt.redfearn@mips.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      882164a4
    • Denis 'GNUtoo' Carikli's avatar
      bcma: add HP Stream Notebook · 985324a1
      Denis 'GNUtoo' Carikli authored
      In this laptop we have the following PCI device:
      02:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
      	Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:804a]
      	[...]
      	Region 0: Memory at 91000000 (64-bit, non-prefetchable) [size=32K]
      	[...]
      
      With this patch, we can now see its WiFi chip:
        bcma: bus0: Found chip with id 43142, rev 0x01 and package 0x08
        bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x28, class 0x0)
        bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x21, class 0x0)
        bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x16, class 0x0)
        bcma: bus0: Core 3 found: UNKNOWN (manuf 0x43B, id 0x368, rev 0x00, class 0x0)
        bcma: bus0: Found rev 15 PMU (capabilities 0x518C5E0F)
        bcma: bus0: SPROM offset 0x840
        bcma: bus0: Found SPROM revision 10
        bcma: bus0: Workarounds unknown or not needed for device 0xA886
        bcma: bus0: Bus registered
      
      But it not yet supported by brcmsmac so it won't work for now:
        brcmsmac bcma0:1: brcms_b_attach wl0: vendor 0x14e4 device 0x4365
        brcmsmac: unknown device id 4365
      Signed-off-by: default avatarDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      985324a1
  2. 27 Feb, 2018 34 commits
  3. 24 Feb, 2018 1 commit