Jump to content
jalavoui

Atheros wireless driver OS X 10.11/12 for unsupported cards

618 posts in this topic

Recommended Posts

Anyways, I got wifi working but bluetooth wont work in spite of installing the kext. Those who have bluetooth working, do share if you have had done anything in addition to installing the kext to make it functional <3 

Share this post


Link to post
Share on other sites
Advertisement

Anyways, I got wifi working but bluetooth wont work in spite of installing the kext. Those who have bluetooth working, do share if you have had done anything in addition to installing the kext to make it functional <3

I hear the bluetooth kext is really buggy and causes frequent kernel panics so I have been avoiding that. Even though I ocasionally need bluetooth for tethering.

Share this post


Link to post
Share on other sites

Please, help me. What should i do to make working wi-fi. OS X 10.11.6 Card- AR9565
I've downloaded 0036v03.zip from the first post, install kext IO80211Family.kext with Kext Utility and now in Setiings-Network I can see Bluetooth PAN, but WI_FI is still not working.

Share this post


Link to post
Share on other sites

Nope, I have noticed though that on some networks it works fine (for example, if I make a hotspot with my phone, I get the speeds I'm supposed to get). I planned to write my own driver to get rid of this issue, and even got send/receive working as well as it does on Windows/Linux, but all the Airport stuff is closed source (not that it's necessarily an issue, but my driver doesn't unload cleanly anymore if I switch from IOEthernetController to IO80211Controller :/ ), so I'm not going any further with that right now.

 

If you plan on open sourcing your work, I would definitely be interested in contributing :)

Share this post


Link to post
Share on other sites

it try to install io80211family.kext and btfirmwareuploader.kext using kext utility after i reboot my hackintosh the wifi is working correctly but not for bluetooth, the bluetooth is on but i cant detect my android phone and my hackintosh bluetooth cant detect by my phone. when i check network prefpane my bluetooth is not connected. i try reinstall btfirmwareuploader.kext but it same. can somebody help my problem? 
thanks in advance

Share this post


Link to post
Share on other sites

The AirPortAtheros40.kext as similiar  code found on linux freebsd. This first patch was tested on OS X 10.11.0

 

 

Working card: Qualcomm Atheros AR9565 pci168c,36 with bluetooth

 

 

ar9565omfg.jpg

 

 

Download v01 for 0036 card + BTFirmwareUploader in attachments. Post your questions here

You can find updates on EMlyDinEsH BTFirmwareUploader here http://forum.osxlatitude.com/index.php?/topic/2925-bluetooth-firmware-uploader/

 

v01 also works on 10.11.4

 

TOFIX: Bands/Channels limitation exist in macosx/windows driver but not in linux

 

UPDATE:  v03 fixed eprom local check.

 

This kext check the following mac models. This might disable/enable some features. plz check your smbios mac model. I'm not using any of this models in my smbios

  v21 = 31;
  if ( PEGetModelName(&v40, 32LL) )
  {
    v22 = !strcmp(&v40, "iMac10,1")
       || !strcmp(&v40, "iMac11,1")
       || !strcmp(&v40, "iMac11,2")
       || !strcmp(&v40, "MacBookPro5,2");
    if ( !strcmp(&v40, "iMac12,1") || !strcmp(&v40, "iMac12,2") )
      v21 = 29;
  }
  else
  {
    v22 = 0;
  }

DEV NOTES:

 

The driver attach procedure loads one of 2 main subs:

ar5416Attach();
ar9300Attach();


On the 9300 tree we have native support for

#define AR_SREV_VERSION_OSPREY 0x1C0
#define AR_SREV_VERSION_AR9580 0x1C0
#define AR_SREV_VERSION_HORNET 0x200

The 0036 card is set here
 
#define AR_SREV_VERSION_APHRODITE 0x2C0

For other cards check here

ath_hal_mac_name(struct ath_hal *ah)
   90 {
   91         switch (ah->ah_macVersion) {
   92         case AR_SREV_VERSION_CRETE:
   93         case AR_SREV_VERSION_MAUI_1:
   94                 return "AR5210";
   95         case AR_SREV_VERSION_MAUI_2:
   96         case AR_SREV_VERSION_OAHU:
   97                 return "AR5211";
   98         case AR_SREV_VERSION_VENICE:
   99                 return "AR5212";
  100         case AR_SREV_VERSION_GRIFFIN:
  101                 return "AR2413";
  102         case AR_SREV_VERSION_CONDOR:
  103                 return "AR5424";
  104         case AR_SREV_VERSION_EAGLE:
  105                 return "AR5413";
  106         case AR_SREV_VERSION_COBRA:
  107                 return "AR2415";
  108         case AR_SREV_2425:      /* Swan */
  109                 return "AR2425";
  110         case AR_SREV_2417:      /* Nala */
  111                 return "AR2417";
  112         case AR_XSREV_VERSION_OWL_PCI:
  113                 return "AR5416";
  114         case AR_XSREV_VERSION_OWL_PCIE:
  115                 return "AR5418";
  116         case AR_XSREV_VERSION_HOWL:
  117                 return "AR9130";
  118         case AR_XSREV_VERSION_SOWL:
  119                 return "AR9160";
  120         case AR_XSREV_VERSION_MERLIN:
  121                 if (AH_PRIVATE(ah)->ah_ispcie)
  122                         return "AR9280";
  123                 return "AR9220";
  124         case AR_XSREV_VERSION_KITE:
  125                 return "AR9285";
  126         case AR_XSREV_VERSION_KIWI:
  127                 if (AH_PRIVATE(ah)->ah_ispcie)
  128                         return "AR9287";
  129                 return "AR9227";
  130         case AR_SREV_VERSION_AR9380:
  131                 if (ah->ah_macRev >= AR_SREV_REVISION_AR9580_10)
  132                         return "AR9580";
  133                 return "AR9380";
  134         case AR_SREV_VERSION_AR9460:
  135                 return "AR9460";
  136         case AR_SREV_VERSION_AR9330:
  137                 return "AR9330";
  138         case AR_SREV_VERSION_AR9340:
  139                 return "AR9340";
  140         case AR_SREV_VERSION_QCA9550:
  141                 return "QCA9550";
  142         case AR_SREV_VERSION_AR9485:
  143                 return "AR9485";
  144         case AR_SREV_VERSION_QCA9565:
  145                 return "QCA9565";
  146         case AR_SREV_VERSION_QCA9530:
  147                 return "QCA9530";
  148         }
  149         return "????";
  150 }

A reference to freebsd source code (usefull to in code research for other cards): http://code.metager.de/source/xref/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/

And ofc the linux id search engine: http://lxr.free-electrons.com/ident

apple code is very old but still some patches can be done

 

 

Todo: Test domains references:

static REG_DMN_PAIR_MAPPING regDomainPairs[] = {
32	{NO_ENUMRD,	DEBUG_REG_DMN,	DEBUG_REG_DMN, NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
33	{NULL1_WORLD,	NULL1,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
34	{NULL1_ETSIB,	NULL1,		ETSIB,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
35	{NULL1_ETSIC,	NULL1,		ETSIC,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
36
37	{FCC2_FCCA,	FCC2,		FCCA,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
38	{FCC2_WORLD,	FCC2,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
39	{FCC2_ETSIC,	FCC2,		ETSIC,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
40	{FCC3_FCCA,	FCC3,		FCCA,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
41	{FCC3_WORLD,	FCC3,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
42	{FCC4_FCCA,	FCC4,		FCCA,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
43	{FCC5_FCCB,	FCC5,		FCCB,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
44
45	{ETSI1_WORLD,	ETSI1,		WORLD,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
46	{ETSI2_WORLD,	ETSI2,		WORLD,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
47	{ETSI3_WORLD,	ETSI3,		WORLD,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
48	{ETSI4_WORLD,	ETSI4,		WORLD,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
49	{ETSI5_WORLD,	ETSI5,		WORLD,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
50	{ETSI6_WORLD,	ETSI6,		WORLD,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
51
52	{ETSI3_ETSIA,	ETSI3,		WORLD,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
53	{FRANCE_RES,	ETSI3,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
54
55	{FCC1_WORLD,	FCC1,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
56	{FCC1_FCCA,	FCC1,		FCCA,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
57	{APL1_WORLD,	APL1,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
58	{APL2_WORLD,	APL2,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
59	{APL3_WORLD,	APL3,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
60	{APL4_WORLD,	APL4,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
61	{APL5_WORLD,	APL5,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
62	{APL6_WORLD,	APL6,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
63	{APL8_WORLD,	APL8,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
64	{APL9_WORLD,	APL9,		WORLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
65
66	{APL3_FCCA,	APL3,		FCCA,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
67	{APL1_ETSIC,	APL1,		ETSIC,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
68	{APL2_ETSIC,	APL2,		ETSIC,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
69	{APL2_APLD,	APL2,		APLD,		NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
70
71	{MKK1_MKKA,	MKK1,		MKKA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKKA, CTRY_JAPAN },
72	{MKK1_MKKB,	MKK1,		MKKA,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC| LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKKA | PSCAN_MKKA_G, CTRY_JAPAN1 },
73	{MKK1_FCCA,	MKK1,		FCCA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC| LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1, CTRY_JAPAN2 },
74	{MKK1_MKKA1,	MKK1,		MKKA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC| LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKKA1 | PSCAN_MKKA1_G, CTRY_JAPAN4 },
75	{MKK1_MKKA2,	MKK1,		MKKA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC| LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKKA2 | PSCAN_MKKA2_G, CTRY_JAPAN5 },
76	{MKK1_MKKC,	MKK1,		MKKC,		DISALLOW_ADHOC_11A_TURB | NEED_NFC| LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1, CTRY_JAPAN6 },
77
78	/* MKK2 */
79	{MKK2_MKKA,	MKK2,		MKKA,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC| LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK2 | PSCAN_MKKA | PSCAN_MKKA_G, CTRY_JAPAN3 },
80
81	/* MKK3 */
82	{MKK3_MKKA,	MKK3,	MKKA,	DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC , PSCAN_MKKA, CTRY_DEFAULT },
83	{MKK3_MKKB,	MKK3,		MKKA,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKKA | PSCAN_MKKA_G, CTRY_JAPAN7 },
84	{MKK3_MKKA1,	MKK3,	MKKA,	DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKKA1 | PSCAN_MKKA1_G, CTRY_DEFAULT },
85	{MKK3_MKKA2,MKK3,		MKKA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKKA2 | PSCAN_MKKA2_G, CTRY_JAPAN8 },
86	{MKK3_MKKC,	MKK3,		MKKC,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, NO_PSCAN, CTRY_JAPAN9 },
87	{MKK3_FCCA,	MKK3,	FCCA,	DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, NO_PSCAN, CTRY_DEFAULT },
88
89	/* MKK4 */
90	{MKK4_MKKB,	MKK4,		MKKA,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3 | PSCAN_MKKA | PSCAN_MKKA_G, CTRY_JAPAN10 },
91	{MKK4_MKKA1,	MKK4,	MKKA,	DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3 | PSCAN_MKKA1 | PSCAN_MKKA1_G, CTRY_DEFAULT },
92	{MKK4_MKKA2,	MKK4,		MKKA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3 |PSCAN_MKKA2 | PSCAN_MKKA2_G, CTRY_JAPAN11 },
93	{MKK4_MKKC,	MKK4,		MKKC,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3, CTRY_JAPAN12 },
94	{MKK4_FCCA,	MKK4,	FCCA,	DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3, CTRY_DEFAULT },
95
96	/* MKK5 */
97	{MKK5_MKKB,	MKK5,		MKKA,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3 | PSCAN_MKKA | PSCAN_MKKA_G, CTRY_JAPAN13 },
98	{MKK5_MKKA2,MKK5,		MKKA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3 | PSCAN_MKKA2 | PSCAN_MKKA2_G, CTRY_JAPAN14 },
99	{MKK5_MKKC,	MKK5,		MKKC,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3, CTRY_JAPAN15 },
100
101	/* MKK6 */
102	{MKK6_MKKB,	MKK6,		MKKA,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKKA | PSCAN_MKKA_G, CTRY_JAPAN16 },
103	{MKK6_MKKA2,	MKK6,		MKKA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKKA2 | PSCAN_MKKA2_G, CTRY_JAPAN17 },
104	{MKK6_MKKC,	MKK6,		MKKC,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1, CTRY_JAPAN18 },
105
106	/* MKK7 */
107	{MKK7_MKKB,	MKK7,		MKKA,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKK3 | PSCAN_MKKA | PSCAN_MKKA_G, CTRY_JAPAN19 },
108	{MKK7_MKKA2, MKK7,		MKKA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKK3 | PSCAN_MKKA2 | PSCAN_MKKA2_G, CTRY_JAPAN20 },
109	{MKK7_MKKC,	MKK7,		MKKC,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKK3, CTRY_JAPAN21 },
110
111	/* MKK8 */
112	{MKK8_MKKB,	MKK8,		MKKA,		DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKK3 | PSCAN_MKKA | PSCAN_MKKA_G, CTRY_JAPAN22 },
113	{MKK8_MKKA2,MKK8,		MKKA,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKK3 | PSCAN_MKKA2 | PSCAN_MKKA2_G, CTRY_JAPAN23 },
114	{MKK8_MKKC,	MKK8,		MKKC,		DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK1 | PSCAN_MKK3 , CTRY_JAPAN24 },
115
116	{MKK9_MKKA,	MKK9,	MKKA,	DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3 | PSCAN_MKKA | PSCAN_MKKA_G, CTRY_DEFAULT },
117	{MKK10_MKKA,	MKK10,	MKKA,	DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB | NEED_NFC | LIMIT_FRAME_4MS, NEED_NFC, PSCAN_MKK3 | PSCAN_MKKA | PSCAN_MKKA_G, CTRY_DEFAULT },
118
119		/* These are super domains */
120	{WOR0_WORLD,	WOR0_WORLD,	WOR0_WORLD,	NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
121	{WOR1_WORLD,	WOR1_WORLD,	WOR1_WORLD,	DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
122	{WOR2_WORLD,	WOR2_WORLD,	WOR2_WORLD,	DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
123	{WOR3_WORLD,	WOR3_WORLD,	WOR3_WORLD,	NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
124	{WOR4_WORLD,	WOR4_WORLD,	WOR4_WORLD,	DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
125	{WOR5_ETSIC,	WOR5_ETSIC,	WOR5_ETSIC,	DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
126	{WOR01_WORLD,	WOR01_WORLD,	WOR01_WORLD,	NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
127	{WOR02_WORLD,	WOR02_WORLD,	WOR02_WORLD,	NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
128	{EU1_WORLD,	EU1_WORLD,	EU1_WORLD,	NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
129	{WOR9_WORLD,	WOR9_WORLD,	WOR9_WORLD,	DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
130	{WORA_WORLD,	WORA_WORLD,	WORA_WORLD,	DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
131	{WORB_WORLD,	WORB_WORLD,	WORB_WORLD,	DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
132	{WORC_WORLD,	WORC_WORLD,	WORC_WORLD,	NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT },
133};

and the ids:

enum {
31	/*
32	 * The following regulatory domain definitions are
33	 * found in the EEPROM. Each regulatory domain
34	 * can operate in either a 5GHz or 2.4GHz wireless mode or
35	 * both 5GHz and 2.4GHz wireless modes.
36	 * In general, the value holds no special
37	 * meaning and is used to decode into either specific
38	 * 2.4GHz or 5GHz wireless mode for that particular
39	 * regulatory domain.
40	 */
41	NO_ENUMRD	= 0x00,
42	NULL1_WORLD	= 0x03,		/* For 11b-only countries (no 11a allowed) */
43	NULL1_ETSIB	= 0x07,		/* Israel */
44	NULL1_ETSIC	= 0x08,
45	FCC1_FCCA	= 0x10,		/* USA */
46	FCC1_WORLD	= 0x11,		/* Hong Kong */
47	FCC4_FCCA	= 0x12,		/* USA - Public Safety */
48	FCC5_FCCB	= 0x13,		/* USA w/ 1/2 and 1/4 width channels */
49	FCC6_FCCA	= 0x14,		/* Canada for AP only */
50
51	FCC2_FCCA	= 0x20,		/* Canada */
52	FCC2_WORLD	= 0x21,		/* Australia & HK */
53	FCC2_ETSIC	= 0x22,
54	FCC_UBNT	= 0x2A,		/* Ubiquity PicoStation M2HP */
55	FRANCE_RES	= 0x31,		/* Legacy France for OEM */
56	FCC3_FCCA	= 0x3A,		/* USA & Canada w/5470 band, 11h, DFS enabled */
57	FCC3_WORLD	= 0x3B,		/* USA & Canada w/5470 band, 11h, DFS enabled */
58
59	ETSI1_WORLD	= 0x37,
60	ETSI3_ETSIA	= 0x32,		/* France (optional) */
61	ETSI2_WORLD	= 0x35,		/* Hungary & others */
62	ETSI3_WORLD	= 0x36,		/* France & others */
63	ETSI4_WORLD	= 0x30,
64	ETSI4_ETSIC	= 0x38,
65	ETSI5_WORLD	= 0x39,
66	ETSI6_WORLD	= 0x34,		/* Bulgaria */
67	ETSI8_WORLD	= 0x3D,		/* Russia */
68	ETSI9_WORLD	= 0x3E,		/* Ukraine */
69	ETSI_RESERVED	= 0x33,		/* Reserved (Do not used) */
70
71	MKK1_MKKA	= 0x40,		/* Japan (JP1) */
72	MKK1_MKKB	= 0x41,		/* Japan (JP0) */
73	APL4_WORLD	= 0x42,		/* Singapore */
74	MKK2_MKKA	= 0x43,		/* Japan with 4.9G channels */
75	APL_RESERVED	= 0x44,		/* Reserved (Do not used)  */
76	APL2_WORLD	= 0x45,		/* Korea */
77	APL2_APLC	= 0x46,
78	APL3_WORLD	= 0x47,
79	MKK1_FCCA	= 0x48,		/* Japan (JP1-1) */
80	APL2_APLD	= 0x49,		/* Korea with 2.3G channels */
81	MKK1_MKKA1	= 0x4A,		/* Japan (JE1) */
82	MKK1_MKKA2	= 0x4B,		/* Japan (JE2) */
83	MKK1_MKKC	= 0x4C,		/* Japan (MKK1_MKKA,except Ch14) */
84	APL2_FCCA	= 0x4D,		/* Mobile customer */
85
86	APL3_FCCA	= 0x50,
87	APL1_WORLD	= 0x52,		/* Latin America */
88	APL1_FCCA	= 0x53,
89	APL1_APLA	= 0x54,
90	APL1_ETSIC	= 0x55,
91	APL2_ETSIC	= 0x56,		/* Venezuela */
92	APL5_WORLD	= 0x58,		/* Chile */
93	APL6_WORLD	= 0x5B,		/* Singapore */
94	APL7_FCCA	= 0x5C,		/* Taiwan 5.47 Band */
95	APL8_WORLD	= 0x5D,		/* Malaysia 5GHz */
96	APL9_WORLD	= 0x5E,		/* Korea 5GHz; before 11/2007; now APs only */
97	APL10_WORLD	= 0x5F,		/* Korea 5GHz; After 11/2007; STAs only */
98
99	/*
100	 * World mode SKUs
101	 */
102	WOR0_WORLD	= 0x60,		/* World0 (WO0 SKU) */
103	WOR1_WORLD	= 0x61,		/* World1 (WO1 SKU) */
104	WOR2_WORLD	= 0x62,		/* World2 (WO2 SKU) */
105	WOR3_WORLD	= 0x63,		/* World3 (WO3 SKU) */
106	WOR4_WORLD	= 0x64,		/* World4 (WO4 SKU) */
107	WOR5_ETSIC	= 0x65,		/* World5 (WO5 SKU) */
108
109	WOR01_WORLD	= 0x66,		/* World0-1 (WW0-1 SKU) */
110	WOR02_WORLD	= 0x67,		/* World0-2 (WW0-2 SKU) */
111	EU1_WORLD	= 0x68,		/* Same as World0-2 (WW0-2 SKU), except active scan ch1-13. No ch14 */
112
113	WOR9_WORLD	= 0x69,		/* World9 (WO9 SKU) */
114	WORA_WORLD	= 0x6A,		/* WorldA (WOA SKU) */
115	WORB_WORLD	= 0x6B,		/* WorldB (WOB SKU) */
116	WORC_WORLD	= 0x6C,		/* WorldC (WOC SKU) */
117
118	MKK3_MKKB	= 0x80,		/* Japan UNI-1 even + MKKB */
119	MKK3_MKKA2	= 0x81,		/* Japan UNI-1 even + MKKA2 */
120	MKK3_MKKC	= 0x82,		/* Japan UNI-1 even + MKKC */
121
122	MKK4_MKKB	= 0x83,		/* Japan UNI-1 even + UNI-2 + MKKB */
123	MKK4_MKKA2	= 0x84,		/* Japan UNI-1 even + UNI-2 + MKKA2 */
124	MKK4_MKKC	= 0x85,		/* Japan UNI-1 even + UNI-2 + MKKC */
125
126	MKK5_MKKB	= 0x86,		/* Japan UNI-1 even + UNI-2 + mid-band + MKKB */
127	MKK5_MKKA2	= 0x87,		/* Japan UNI-1 even + UNI-2 + mid-band + MKKA2 */
128	MKK5_MKKC	= 0x88,		/* Japan UNI-1 even + UNI-2 + mid-band + MKKC */
129
130	MKK6_MKKB	= 0x89,		/* Japan UNI-1 even + UNI-1 odd MKKB */
131	MKK6_MKKA2	= 0x8A,		/* Japan UNI-1 even + UNI-1 odd + MKKA2 */
132	MKK6_MKKC	= 0x8B,		/* Japan UNI-1 even + UNI-1 odd + MKKC */
133
134	MKK7_MKKB	= 0x8C,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + MKKB */
135	MKK7_MKKA2	= 0x8D,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + MKKA2 */
136	MKK7_MKKC	= 0x8E,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + MKKC */
137
138	MKK8_MKKB	= 0x8F,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + mid-band + MKKB */
139	MKK8_MKKA2	= 0x90,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + mid-band + MKKA2 */
140	MKK8_MKKC	= 0x91,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + mid-band + MKKC */
141
142	MKK14_MKKA1	= 0x92,		/* Japan UNI-1 even + UNI-1 odd + 4.9GHz + MKKA1 */
143	MKK15_MKKA1	= 0x93,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + 4.9GHz + MKKA1 */
144
145	MKK10_FCCA	= 0xD0,		/* Japan UNI-1 even + UNI-2 + 4.9GHz + FCCA */
146	MKK10_MKKA1	= 0xD1,		/* Japan UNI-1 even + UNI-2 + 4.9GHz + MKKA1 */
147	MKK10_MKKC	= 0xD2,		/* Japan UNI-1 even + UNI-2 + 4.9GHz + MKKC */
148	MKK10_MKKA2	= 0xD3,		/* Japan UNI-1 even + UNI-2 + 4.9GHz + MKKA2 */
149
150	MKK11_MKKA	= 0xD4,		/* Japan UNI-1 even + UNI-2 + mid-band + 4.9GHz + MKKA */
151	MKK11_FCCA	= 0xD5,		/* Japan UNI-1 even + UNI-2 + mid-band + 4.9GHz + FCCA */
152	MKK11_MKKA1	= 0xD6,		/* Japan UNI-1 even + UNI-2 + mid-band + 4.9GHz + MKKA1 */
153	MKK11_MKKC	= 0xD7,		/* Japan UNI-1 even + UNI-2 + mid-band + 4.9GHz + MKKC */
154	MKK11_MKKA2	= 0xD8,		/* Japan UNI-1 even + UNI-2 + mid-band + 4.9GHz + MKKA2 */
155
156	MKK12_MKKA	= 0xD9,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + mid-band + 4.9GHz + MKKA */
157	MKK12_FCCA	= 0xDA,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + mid-band + 4.9GHz + FCCA */
158	MKK12_MKKA1	= 0xDB,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + mid-band + 4.9GHz + MKKA1 */
159	MKK12_MKKC	= 0xDC,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + mid-band + 4.9GHz + MKKC */
160	MKK12_MKKA2	= 0xDD,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + mid-band + 4.9GHz + MKKA2 */
161
162	MKK13_MKKB	= 0xDE,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + mid-band + MKKB + All passive + no adhoc */
163
164	/*
165	 * Following definitions are used only by s/w to map old
166	 * Japan SKUs.
167	 */
168	MKK3_MKKA	= 0xF0,		/* Japan UNI-1 even + MKKA */
169	MKK3_MKKA1	= 0xF1,		/* Japan UNI-1 even + MKKA1 */
170	MKK3_FCCA	= 0xF2,		/* Japan UNI-1 even + FCCA */
171	MKK4_MKKA	= 0xF3,		/* Japan UNI-1 even + UNI-2 + MKKA */
172	MKK4_MKKA1	= 0xF4,		/* Japan UNI-1 even + UNI-2 + MKKA1 */
173	MKK4_FCCA	= 0xF5,		/* Japan UNI-1 even + UNI-2 + FCCA */
174	MKK9_MKKA	= 0xF6,		/* Japan UNI-1 even + 4.9GHz */
175	MKK10_MKKA	= 0xF7,		/* Japan UNI-1 even + UNI-2 + 4.9GHz */
176	MKK6_MKKA1	= 0xF8,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + MKKA1 */
177	MKK6_FCCA	= 0xF9,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + FCCA */
178	MKK7_MKKA1	= 0xFA,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + MKKA1 */
179	MKK7_FCCA	= 0xFB,		/* Japan UNI-1 even + UNI-1 odd + UNI-2 + FCCA */
180	MKK9_FCCA	= 0xFC,		/* Japan UNI-1 even + 4.9GHz + FCCA */
181	MKK9_MKKA1	= 0xFD,		/* Japan UNI-1 even + 4.9GHz + MKKA1 */
182	MKK9_MKKC	= 0xFE,		/* Japan UNI-1 even + 4.9GHz + MKKC */
183	MKK9_MKKA2	= 0xFF,		/* Japan UNI-1 even + 4.9GHz + MKKA2 */
184
185	/*
186	 * Regulator domains ending in a number (e.g. APL1,
187	 * MK1, ETSI4, etc) apply to 5GHz channel and power
188	 * information.  Regulator domains ending in a letter
189	 * (e.g. APLA, FCCA, etc) apply to 2.4GHz channel and
190	 * power information.
191	 */
192	APL1		= 0x0150,	/* LAT & Asia */
193	APL2		= 0x0250,	/* LAT & Asia */
194	APL3		= 0x0350,	/* Taiwan */
195	APL4		= 0x0450,	/* Jordan */
196	APL5		= 0x0550,	/* Chile */
197	APL6		= 0x0650,	/* Singapore */
198	APL7		= 0x0750,	/* Taiwan, disable ch52 */
199	APL8		= 0x0850,	/* Malaysia */
200	APL9		= 0x0950,	/* Korea. Before 11/2007. Now used only by APs */
201	APL10		= 0x1050,	/* Korea. After 11/2007. For STAs only */
202
203	ETSI1		= 0x0130,	/* Europe & others */
204	ETSI2		= 0x0230,	/* Europe & others */
205	ETSI3		= 0x0330,	/* Europe & others */
206	ETSI4		= 0x0430,	/* Europe & others */
207	ETSI5		= 0x0530,	/* Europe & others */
208	ETSI6		= 0x0630,	/* Europe & others */
209	ETSI8		= 0x0830,	/* Russia */
210	ETSI9		= 0x0930,	/* Ukraine */
211	ETSIA		= 0x0A30,	/* France */
212	ETSIB		= 0x0B30,	/* Israel */
213	ETSIC		= 0x0C30,	/* Latin America */
214
215	FCC1		= 0x0110,	/* US & others */
216	FCC2		= 0x0120,	/* Canada, Australia & New Zealand */
217	FCC3		= 0x0160,	/* US w/new middle band & DFS */
218	FCC4		= 0x0165,	/* US Public Safety */
219	FCC5		= 0x0166,	/* US w/ 1/2 and 1/4 width channels */
220	FCC6		= 0x0610,	/* Canada and Australia */
221	FCCA		= 0x0A10,
222	FCCB		= 0x0A11,	/* US w/ 1/2 and 1/4 width channels */
223
224	APLD		= 0x0D50,	/* South Korea */
225
226	MKK1		= 0x0140,	/* Japan (UNI-1 odd)*/
227	MKK2		= 0x0240,	/* Japan (4.9 GHz + UNI-1 odd) */
228	MKK3		= 0x0340,	/* Japan (UNI-1 even) */
229	MKK4		= 0x0440,	/* Japan (UNI-1 even + UNI-2) */
230	MKK5		= 0x0540,	/* Japan (UNI-1 even + UNI-2 + mid-band) */
231	MKK6		= 0x0640,	/* Japan (UNI-1 odd + UNI-1 even) */
232	MKK7		= 0x0740,	/* Japan (UNI-1 odd + UNI-1 even + UNI-2 */
233	MKK8		= 0x0840,	/* Japan (UNI-1 odd + UNI-1 even + UNI-2 + mid-band) */
234	MKK9		= 0x0940,	/* Japan (UNI-1 even + 4.9 GHZ) */
235	MKK10		= 0x0B40,	/* Japan (UNI-1 even + UNI-2 + 4.9 GHZ) */
236	MKK11		= 0x1140,	/* Japan (UNI-1 even + UNI-2 + 4.9 GHZ) */
237	MKK12		= 0x1240,	/* Japan (UNI-1 even + UNI-2 + 4.9 GHZ) */
238	MKK13		= 0x0C40,	/* Same as MKK8 but all passive and no adhoc 11a */
239	MKK14		= 0x1440,	/* Japan UNI-1 even + UNI-1 odd + 4.9GHz */
240	MKK15		= 0x1540,	/* Japan UNI-1 even + UNI-1 odd + UNI-2 + 4.9GHz */
241
242	MKKA		= 0x0A40,	/* Japan */
243	MKKC		= 0x0A50,
244
245	NULL1		= 0x0198,
246	WORLD		= 0x0199,
247	DEBUG_REG_DMN	= 0x01ff,
248};

This can be changed in (btw original code as a little hack from apple):

ar9300FillCapabilityInfo()

...


    *(_WORD *)(a1 + 2326) = 141;
 

KPCM Tool to install extensions

 

Check here https://www.firewolf.science/2015/10/kcpm-utility-pro-v5-0-installing-kexts-repairing-permissions-rebuilding-caches-configuring-sip-and-more/

 

Kernel kext debug here http://www.insanelymac.com/forum/topic/312254-realtek-ethernet-panic-debug-driver-using-xcode-ui/

 

;)

Great work!

 

Wonder how can make the AR9485 like AR5B225 work.

Share this post


Link to post
Share on other sites

I have played around with the 10.12 AirportAtheros40 kext... I updated the current patches and inserted the microcode for AR9462. However, while the kext on 10.12 is able to successfully scan for networks, it fails to connect to any of them :/

 

Something definitely changed from 10.11 -> 10.12 which broke what patches we have, so we might need to patch more to get it to actually connect.

Share this post


Link to post
Share on other sites

I haven't move to 10.12 yet.

 

Anyway the process on 10.12 as tobe the same:

 

- Track all code and check if it is possible to inject missing ucode, etc.

- Fix kernel panics

- Plug and pray it works.

Share this post


Link to post
Share on other sites

I haven't move to 10.12 yet.

 

Anyway the process on 10.12 as tobe the same:

 

- Track all code and check if it is possible to inject missing ucode, etc.

- Fix kernel panics

- Plug and pray it works.

Do post the new kext when you update to 10.12.x

Share this post


Link to post
Share on other sites

I haven't move to 10.12 yet.

 

Anyway the process on 10.12 as tobe the same:

 

- Track all code and check if it is possible to inject missing ucode, etc.

- Fix kernel panics

- Plug and pray it works.

i have some debug from linux for my system but i am losy at where to look for this in linux can you guide me the way

description: Wireless interface
       product: QCA6174 802.11ac Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: wlp7s0
       version: 32
       serial: c8:ff:28:0d:ee:5f
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.0-31-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
       resources: irq:145 memory:de200000-de3fffff
 
ubuntu-gnome@ubuntu-gnome:~$ dmesg | grep ath
[   16.052565] ath10k_pci 0000:07:00.0: enabling device (0000 -> 0002)
[   16.055181] ath10k_pci 0000:07:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[   16.378339] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/cal-pci-0000:07:00.0.bin failed with error -2
[   16.378429] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[   16.378430] ath10k_pci 0000:07:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[   19.286001] ath10k_pci 0000:07:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1043:86cd) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 2 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[   19.286003] ath10k_pci 0000:07:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   19.359343] ath: EEPROM regdomain: 0x6c
[   19.359345] ath: EEPROM indicates we should expect a direct regpair map
[   19.359346] ath: Country alpha2 being used: 00
[   19.359346] ath: Regpair used: 0x6c
[   19.377432] ath10k_pci 0000:07:00.0 wlp7s0: renamed from wlan0
ubuntu-gnome@ubuntu-gnome:~$ ls /lib/firmware/ath10k/QCA6174/hw3.0
board-2.bin  board.bin  firmware-4.bin  notice_ath10k_firmware-4.txt
ubuntu-gnome@ubuntu-gnome:~$ md5sum /lib/firmware/ath10k/QCA6174/hw2.1/*
ee53cb8601568f2693043f8fe47677c1  /lib/firmware/ath10k/QCA6174/hw2.1/board-2.bin
461e7f4b2f32f1c4ef50d26f76b715eb  /lib/firmware/ath10k/QCA6174/hw2.1/board.bin
944ef57488e09e708222d4fb49c3ab73  /lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin
520e814a78b09b4e29c65ba3ddac5631  /lib/firmware/ath10k/QCA6174/hw2.1/notice_ath10k_firmware-5.txt
ubuntu-gnome@ubuntu-gnome:~$ 
ubuntu-gnome@ubuntu-gnome:~$ ls /lib/firmware/ath10k/QCA6174/hw2.1
board-2.bin  board.bin  firmware-5.bin  notice_ath10k_firmware-5.txt
ubuntu-gnome@ubuntu-gnome:~$ ls /lib/firmware/ath10k/QCA6174/hw3.0
board-2.bin  board.bin  firmware-4.bin  notice_ath10k_firmware-4.txt
 
########## wireless info START ##########
 
Report from: 14 Nov 2016 22:26 UTC +0000
 
Booted last: 14 Nov 2016 00:00 UTC +0000
 
Script from: 08 Jul 2016 02:16 UTC +0000
 
##### release ###########################
 
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
 
##### kernel ############################
 
Linux 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
 
Parameters: file=/cdrom/preseed/ubuntu-gnome.seed, boot=casper, -v
 
##### desktop ###########################
 
GNOME
 
##### lspci #############################
 
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8] (rev 31)
Subsystem: ASUSTeK Computer Inc. Ethernet Connection (2) I219-V [1043:8672]
Kernel driver in use: e1000e
 
07:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
Subsystem: ASUSTeK Computer Inc. QCA6174 802.11ac Wireless Network Adapter [1043:86cd]
Kernel driver in use: ath10k_pci
 
##### lsusb #############################
 
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 09da:195b A4Tech Co., Ltd. 
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0b05:1825 ASUSTek Computer, Inc. 
Bus 001 Device 004: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 Webcam
Bus 001 Device 003: ID 045e:02e6 Microsoft Corp. 
Bus 001 Device 002: ID 09da:f624 A4Tech Co., Ltd. 
Bus 001 Device 006: ID 8644:800a Intenso GmbG 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
##### PCMCIA card info ##################
 
##### rfkill ############################
 
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
 
##### lsmod #############################
 
ath10k_pci             45056  0
ath10k_core           311296  1 ath10k_pci
eeepc_wmi              16384  0
asus_wmi               28672  1 eeepc_wmi
sparse_keymap          16384  1 asus_wmi
ath                    32768  1 ath10k_core
mac80211              737280  1 ath10k_core
cfg80211              565248  3 ath,mac80211,ath10k_core
mxm_wmi                16384  1 nouveau
wmi                    20480  3 mxm_wmi,nouveau,asus_wmi
video                  40960  3 i915_bpo,nouveau,asus_wmi
 
##### interfaces ########################
 
auto lo
iface lo inet loopback
 
##### ifconfig ##########################
 
enp0s31f6 Link encap:Ethernet  HWaddr <MAC 'enp0s31f6' [IF1]>  
          inet addr:192.168.0.103  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::6f9b:5f80:ebfb:2240/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:37095 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27834 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:25322849 (25.3 MB)  TX bytes:3289317 (3.2 MB)
          Interrupt:16 Memory:de700000-de720000 
 
wlp7s0    Link encap:Ethernet  HWaddr <MAC 'wlp7s0' [IF2]>  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0   TX bytes:0 (0.0 
 
##### iwconfig ##########################
 
lo        no wireless extensions.
 
enp0s31f6  no wireless extensions.
 
wlp7s0    IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          
 
##### route #############################
 
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    100    0        0 enp0s31f6
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enp0s31f6
192.168.0.0     0.0.0.0         255.255.255.0   U     100    0        0 enp0s31f6
 
##### resolv.conf #######################
 
nameserver 127.0.1.1
 
##### network managers ##################
 
Installed:
 
NetworkManager
 
Running:
 
root      5111     1  0 21:43 ?        00:00:02 /usr/sbin/NetworkManager --no-daemon
 
##### NetworkManager info ###############
 
GENERAL.DEVICE:                         enp0s31f6
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                         Intel Corporation
GENERAL.PRODUCT:                        Ethernet Connection (2) I219-V
GENERAL.DRIVER:                         e1000e
GENERAL.DRIVER-VERSION:                 3.2.6-k
GENERAL.FIRMWARE-VERSION:               0.7-4
GENERAL.HWADDR:                         <MAC 'enp0s31f6' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1f.6/net/enp0s31f6
GENERAL.IP-IFACE:                       enp0s31f6
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Wired connection 1
GENERAL.CON-UUID:                       a47b2783-3010-40e0-bdb6-aa9c7aadcaf8
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/0
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     1000 Mb/s
CAPABILITIES.IS-SOFTWARE:               no
WIRED-PROPERTIES.CARRIER:               on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{0}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   a47b2783-3010-40e0-bdb6-aa9c7aadcaf8 | Wired connection 1
IP4.ADDRESS[1]:                         192.168.0.103/24
IP4.GATEWAY:                            192.168.0.1
IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.0.1
DHCP4.OPTION[1]:                        requested_routers = 1
DHCP4.OPTION[2]:                        requested_domain_search = 1
DHCP4.OPTION[3]:                        requested_time_offset = 1
DHCP4.OPTION[4]:                        requested_domain_name = 1
DHCP4.OPTION[5]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_netbios_scope = 1
DHCP4.OPTION[8]:                        requested_wpad = 1
DHCP4.OPTION[9]:                        next_server = 0.0.0.0
DHCP4.OPTION[10]:                       expiry = 1479188593
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_subnet_mask = 1
DHCP4.OPTION[13]:                       dhcp_lease_time = 7200
DHCP4.OPTION[14]:                       dhcp_message_type = 5
DHCP4.OPTION[15]:                       ip_address = 192.168.0.103
DHCP4.OPTION[16]:                       requested_static_routes = 1
DHCP4.OPTION[17]:                       requested_domain_name_servers = 1
DHCP4.OPTION[18]:                       routers = 192.168.0.1
DHCP4.OPTION[19]:                       broadcast_address = 192.168.0.255
DHCP4.OPTION[20]:                       requested_ntp_servers = 1
DHCP4.OPTION[21]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[22]:                       domain_name_servers = 192.168.0.1
DHCP4.OPTION[23]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[24]:                       subnet_mask = 255.255.255.0
DHCP4.OPTION[25]:                       network_number = 192.168.0.0
DHCP4.OPTION[26]:                       requested_host_name = 1
DHCP4.OPTION[27]:                       dhcp_server_identifier = 192.168.0.1
IP6.ADDRESS[1]:                         fe80::6f9b:5f80:ebfb:2240/64
IP6.GATEWAY:                            
 
GENERAL.DEVICE:                         wlp7s0
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                         Qualcomm Atheros
GENERAL.PRODUCT:                        QCA6174 802.11ac Wireless Network Adapter
GENERAL.DRIVER:                         ath10k_pci
GENERAL.DRIVER-VERSION:                 4.4.0-31-generic
GENERAL.FIRMWARE-VERSION:               WLAN.RM.2.0-00180-QCARMSWPZ-1
GENERAL.HWADDR:                         <MAC 'wlp7s0' [IF2]>
GENERAL.MTU:                            0
GENERAL.STATE:                          30 (disconnected)
GENERAL.REASON:                         42 (The supplicant is now available)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/0000:05:03.0/0000:07:00.0/net/wlp7s0
GENERAL.IP-IFACE:                       
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                   yes
WIFI-PROPERTIES.TKIP:                   yes
WIFI-PROPERTIES.CCMP:                   yes
WIFI-PROPERTIES.AP:                     yes
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                   yes
WIFI-PROPERTIES.5GHZ:                   yes
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: 
 
SSID             BSSID              MODE   CHAN  FREQ      RATE       SIGNAL  BARS  SECURITY   ACTIVE  * 
Faradis's World  <MAC 'Faradis's World' [AC3]>  Infra  10    2457 MHz  54 Mbit/s  100     ▂▄▆█  WPA1 WPA2  no        
--               <MAC '' [AC5]>  Infra  48    5240 MHz  0 Mbit/s   92      ▂▄▆█  WEP        no        
Siam WiFI        <MAC 'Siam WiFI' [AC1]>  Infra  7     2442 MHz  54 Mbit/s  40      ▂▄__  WPA1 WPA2  no        
Faisal's World   <MAC 'Faisal's World' [AC4]>  Infra  11    2462 MHz  54 Mbit/s  39      ▂▄__  WPA1       no        
not in range     <MAC 'not in range ' [AC2]>  Infra  8     2447 MHz  54 Mbit/s  29      ▂___  WPA1       no        
TP-LINK_3EFBD6   <MAC 'TP-LINK_3EFBD6' [AN6]>  Infra  1     2412 MHz  54 Mbit/s  20      ▂___  WPA1 WPA2  no        
razib wifi       <MAC 'razib wifi' [AC6]>  Infra  3     2422 MHz  54 Mbit/s  20      ▂___  WPA1 WPA2  no        
 
##### NetworkManager.state ##############
 
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
 
##### NetworkManager.conf ###############
 
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
 
[ifupdown]
managed=false
 
##### NetworkManager profiles ###########
 
##### iw reg get ########################
 
Region: Etc/UTC (based on set time zone)
 
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
(5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
 
##### iwlist channels ###################
 
lo        no frequency information.
 
enp0s31f6  no frequency information.
 
wlp7s0    32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
 
##### iwlist scan #######################
 
lo        Interface doesn't support scanning.
 
enp0s31f6  Interface doesn't support scanning.
 
Channel occupancy:
 
      1   APs on   Frequency:2.422 GHz (Channel 3)
      1   APs on   Frequency:2.442 GHz (Channel 7)
      1   APs on   Frequency:2.447 GHz (Channel 8)
      1   APs on   Frequency:2.457 GHz (Channel 10)
      1   APs on   Frequency:2.462 GHz (Channel 11)
      1   APs on   Frequency:5.24 GHz (Channel 48)
 
wlp7s0    Scan completed :
          Cell 01 - Address: <MAC 'Siam WiFI' [AC1]>
                    Channel:7
                    Frequency:2.442 GHz (Channel 7)
                    Quality=34/70  Signal level=-76 dBm  
                    Encryption key:on
                    ESSID:"Siam WiFI"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000376de44123
                    Extra: Last beacon: 4368ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 02 - Address: <MAC 'not in range ' [AC2]>
                    Channel:8
                    Frequency:2.447 GHz (Channel 8)
                    Quality=27/70  Signal level=-83 dBm  
                    Encryption key:on
                    ESSID:"not in range "
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000001291574
                    Extra: Last beacon: 4320ms ago
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 03 - Address: <MAC 'Faradis's World' [AC3]>
                    Channel:10
                    Frequency:2.457 GHz (Channel 10)
                    Quality=70/70  Signal level=-32 dBm  
                    Encryption key:on
                    ESSID:"Faradis's World"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000003a11e2924
                    Extra: Last beacon: 4196ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 04 - Address: <MAC 'Faisal's World' [AC4]>
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=33/70  Signal level=-77 dBm  
                    Encryption key:on
                    ESSID:"Faisal's World"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000001742513
                    Extra: Last beacon: 3936ms ago
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
          Cell 05 - Address: <MAC '' [AC5]>
                    Channel:48
                    Frequency:5.24 GHz (Channel 48)
                    Quality=64/70  Signal level=-46 dBm  
                    Encryption key:on
                    ESSID:""
                    Mode:Master
                    Extra:tsf=00000000d595588e
                    Extra: Last beacon: 3324ms ago
          Cell 06 - Address: <MAC 'razib wifi' [AC6]>
                    Channel:3
                    Frequency:2.422 GHz (Channel 3)
                    Quality=20/70  Signal level=-90 dBm  
                    Encryption key:on
                    ESSID:"razib wifi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000038b8c4bcf
                    Extra: Last beacon: 4640ms ago
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
 
##### module infos ######################
 
[ath10k_pci]
filename:       /lib/modules/4.4.0-31-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware:       ath10k/QCA9377/hw1.0/board.bin
firmware:       ath10k/QCA9377/hw1.0/firmware-5.bin
firmware:       ath10k/QCA6174/hw3.0/board-2.bin
firmware:       ath10k/QCA6174/hw3.0/board.bin
firmware:       ath10k/QCA6174/hw3.0/firmware-5.bin
firmware:       ath10k/QCA6174/hw3.0/firmware-4.bin
firmware:       ath10k/QCA6174/hw2.1/board-2.bin
firmware:       ath10k/QCA6174/hw2.1/board.bin
firmware:       ath10k/QCA6174/hw2.1/firmware-5.bin
firmware:       ath10k/QCA6174/hw2.1/firmware-4.bin
firmware:       ath10k/QCA988X/hw2.0/board-2.bin
firmware:       ath10k/QCA988X/hw2.0/board.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-5.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-4.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-3.bin
firmware:       ath10k/QCA988X/hw2.0/firmware-2.bin
firmware:       ath10k/QCA988X/hw2.0/firmware.bin
license:        Dual BSD/GPL
description:    Driver support for Atheros QCA988X PCIe devices
author:         Qualcomm Atheros
srcversion:     8CBDAC7980FC042032AE6A6
depends:        ath10k_core
intree:         Y
vermagic:       4.4.0-31-generic SMP mod_unload modversions 
parm:           irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm:           reset_mode:0: auto, 1: warm only (default: 0) (uint)
 
[ath10k_core]
filename:       /lib/modules/4.4.0-31-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_core.ko
license:        Dual BSD/GPL
description:    Core module for QCA988X PCIe devices.
author:         Qualcomm Atheros
srcversion:     F5C0E3964FCD86D0F5FE986
depends:        mac80211,cfg80211,ath
intree:         Y
vermagic:       4.4.0-31-generic SMP mod_unload modversions 
parm:           debug_mask:Debugging mask (uint)
parm:           uart_print:Uart target debugging (bool)
parm:           skip_otp:Skip otp failure for calibration in testmode (bool)
parm:           cryptmode:Crypto mode: 0-hardware, 1-software (uint)
parm:           rawmode:Use raw 802.11 frame datapath (bool)
 
[ath]
filename:       /lib/modules/4.4.0-31-generic/kernel/drivers/net/wireless/ath/ath.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless LAN cards.
author:         Atheros Communications
srcversion:     3FCDBF7CE71CB8FB980D59D
depends:        cfg80211
intree:         Y
vermagic:       4.4.0-31-generic SMP mod_unload modversions 
 
[mac80211]
filename:       /lib/modules/4.4.0-31-generic/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
srcversion:     2FFAEED0245CA1D97FE1E44
depends:        cfg80211
intree:         Y
vermagic:       4.4.0-31-generic SMP mod_unload modversions 
parm:           minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
 
[cfg80211]
filename:       /lib/modules/4.4.0-31-generic/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
srcversion:     25A45701AAA64DAC1E47D9D
depends:        
intree:         Y
vermagic:       4.4.0-31-generic SMP mod_unload modversions 
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
 
##### module parameters #################
 
[ath10k_pci]
irq_mode: 0
reset_mode: 0
 
[ath10k_core]
cryptmode: 0
debug_mask: 0
rawmode: N
skip_otp: N
uart_print: N
 
[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500
 
[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
 
##### /etc/modules ######################
 
##### modprobe options ##################
 
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
 
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
 
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
 
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
 
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
 
##### rc.local ##########################
 
exit 0
 
##### pm-utils ##########################
 
##### udev rules ########################
 
##### dmesg #############################
 
[   16.052565] ath10k_pci 0000:07:00.0: enabling device (0000 -> 0002)
[   16.055181] ath10k_pci 0000:07:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[   16.378339] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/cal-pci-0000:07:00.0.bin failed with error -2
[   16.378429] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[   16.378430] ath10k_pci 0000:07:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[   18.200442] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready (repeated 2 times)
[   19.286001] ath10k_pci 0000:07:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1043:86cd) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 2 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[   19.286003] ath10k_pci 0000:07:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   19.359343] ath: EEPROM regdomain: 0x6c
[   19.359345] ath: EEPROM indicates we should expect a direct regpair map
[   19.359346] ath: Country alpha2 being used: 00
[   19.359346] ath: Regpair used: 0x6c
[   19.377432] ath10k_pci 0000:07:00.0 wlp7s0: renamed from wlan0
[   19.393244] IPv6: ADDRCONF(NETDEV_UP): wlp7s0: link is not ready
[   21.072876] e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   21.688051] IPv6: ADDRCONF(NETDEV_UP): wlp7s0: link is not ready
[   21.688130] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s31f6: link becomes ready
[   21.750161] IPv6: ADDRCONF(NETDEV_UP): wlp7s0: link is not ready
 
########## wireless info END ############

i also board.bin form HW2.0 and Hw 3.0 from linux is attached 

board file.zip

Share this post


Link to post
Share on other sites

Hello,

I need some help.

I am on Mavericks and I have the same Atheros AR9565 Card, 

I installed and replaced IO80211Family.kext using Kext Utility , updated the kernel cache and my Bluetooth started working. I didnot used the firmware updater kext. 

I also tested by transferring files to another device via bluetooth.

 

My WLAN card also showed up in Settings > Network,but I am not able to configure it. 

What can be the issue ? My laptop (Lenovo G510), is identified as Macbook Air

Share this post


Link to post
Share on other sites

Hi, I'm using the AR9565 (QCWB335) and I can't seem to get BT to work. When I add the BT kext, it disables wifi until i restart/reinject the WiFi kext. Wifi is working perfectly, I just want to get BT working as well.

Share this post


Link to post
Share on other sites

Hi, I'm using the AR9565 (QCWB335) and I can't seem to get BT to work. When I add the BT kext, it disables wifi until i restart/reinject the WiFi kext. Wifi is working perfectly, I just want to get BT working as well.

 

Have you tried the BT Firmware Uploader ? I have not yet installed this Kext. and bluetooth is working in my case.

Share this post


Link to post
Share on other sites

Hi...

 

Mac OS X El Capitan 10.11.6

 

Tried on Clover, wifi works, but BT no load :(

i tried with new FirmwareUploader, no load... never see in config...

Share this post


Link to post
Share on other sites

I have patched AirPortAtheros40.kext for AR9485 MacRev 1.

 

AzureWave AW-NB126H (pci168c,32)

 

Tested and working on Asus Vivobook S300CA on macOS 10.12 (16A323).

 

http://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-on-os-x-el-capitan-1011-for-unsupported-cards/?p=2412215

 

http://www.insanelymac.com/forum/topic/312045-atheros-wireless-driver-on-os-x-el-capitan-1011-for-unsupported-cards/?p=2414859

Share this post


Link to post
Share on other sites

@jalavoui,

 

Thanks!

 

I think I got kernel panics once when I miscalculated the offsets of _ar9330Modes_tx_gain_osprey2_0 table...

 

Share this post


Link to post
Share on other sites

@jalavoui,

 

Thanks!

 

I think I got kernel panics once when I miscalculated the offsets of _ar9330Modes_tx_gain_osprey2_0 table...

 

 

 

v2: Added missing data for _ar9330Modes_rx_gain_osprey2_0 table...

v3: _ar9300TxGainTableApply & _ar9300RxGainTableApply index is fixed to 0...

 

Would you mind also uploading the original unpatched kext you used to make this so that I can get diff's of the patches that you've made?

 

Still messing with my AR9462 here trying to get mine working on 10.12...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×