Cherry picked commits from windkernel that attempt to fix some wifi bugs: 02ff818e883052b6e4f712136d1ad992c42725e0 , 0950204d8c893f905bd384d353978f2832fd0900 , 770336f8b58ebd01c9b667a8cd9804fe80c87faf , 381ae3711721eb147320c9471440aa69bbafc7c0