[G2 Q&A, Help & Troubleshooting] draplater:
wifi not working on f320 lollipop.

seems a kernel-related problem.

use

dmesg | grep wifi

on lollipop:

<4>[ 0.136208 / 01-01 00:00:00.130] init_bcm_wifi: wifi_dma_qos is added
<3>[ 0.136223 / 01-01 00:00:00.130] bcm_wifi_init_gpio_mem: rev=11, gpio_power=26, gpio_hostwakeup=44
<4>[ 0.136322 / 01-01 00:00:00.130] J:bcm_wifi_init_gpio_mem> resource->start = 312
<4>[ 0.136390 / 01-01 00:00:00.130] bcm_wifi_init_gpio_mem successfully
<4>[ 1.156999 / 01-01 00:00:01.140] wifi_set_power = 1
<3>[ 1.157008 / 01-01 00:00:01.140] bcm_wifi_reinit_gpio: rev=11, gpio_power=26, gpio_hostwakeup=44
<4>[ 1.167023 / 01-01 00:00:01.150] bcm_wifi_set_power: trying to acquire BT lock
<4>[ 1.167036 / 01-01 00:00:01.150] bcm_wifi_set_power: btlock acquired
<4>[ 1.317129 / 01-01 00:00:01.300] J:bcm_wifi_set_power: applied delay. 150ms
<3>[ 1.317137 / 01-01 00:00:01.300] bcm_wifi_set_power: wifi power successed to pull up
<4>[ 1.317149 / 01-01 00:00:01.300] wifi_set_carddetect = 1
<4>[ 1.317155 / 01-01 00:00:01.300] bcm_wifi_carddetect:There is no callback for notify
<4>[ 3.310092 / 01-01 00:00:03.300] failed to power up wifi chip, retry again (4 left) **
<4>[ 3.326168 / 01-01 00:00:03.310] ## wifi_remove
<4>[ 3.326177 / 01-01 00:00:03.310] wifi_set_power = 0
<4>[ 3.326184 / 01-01 00:00:03.310] bcm_wifi_set_power: trying to acquire BT lock
<4>[ 3.326200 / 01-01 00:00:03.310] bcm_wifi_set_power: btlock acquired
<3>[ 3.426244 / 01-01 00:00:03.410] bcm_wifi_set_power: wifi power successed to pull down
<4>[ 3.426262 / 01-01 00:00:03.410] wifi_set_carddetect = 0
<4>[ 3.426269 / 01-01 00:00:03.410] bcm_wifi_carddetect:There is no callback for notify
<4>[ 3.426804 / 01-01 00:00:03.410] wifi_set_power = 1
<4>[ 3.426812 / 01-01 00:00:03.410] bcm_wifi_set_power: trying to acquire BT lock
<4>[ 3.426826 / 01-01 00:00:03.410] bcm_wifi_set_power: btlock acquired
<4>[ 3.576885 / 01-01 00:00:03.560] J:bcm_wifi_set_power: applied delay. 150ms
<3>[ 3.576893 / 01-01 00:00:03.560] bcm_wifi_set_power: wifi power successed to pull up
<4>[ 3.576908 / 01-01 00:00:03.560] wifi_set_carddetect = 1
<4>[ 3.576914 / 01-01 00:00:03.560] bcm_wifi_carddetect:There is no callback for notify
<4>[ 5.570111 / 01-01 00:00:05.559] failed to power up wifi chip, retry again (3 left) **
<4>[ 5.586174 / 01-01 00:00:05.569] ## wifi_remove
<4>[ 5.586182 / 01-01 00:00:05.569] wifi_set_power = 0
<4>[ 5.586189 / 01-01 00:00:05.569] bcm_wifi_set_power: trying to acquire BT lock
<4>[ 5.586203 / 01-01 00:00:05.569] bcm_wifi_set_power: btlock acquired
<3>[ 5.686247 / 01-01 00:00:05.670] bcm_wifi_set_power: wifi power successed to pull down
<4>[ 5.686263 / 01-01 00:00:05.670] wifi_set_carddetect = 0
<4>[ 5.686269 / 01-01 00:00:05.670] bcm_wifi_carddetect:There is no callback for notify
<4>[ 5.686589 / 01-01 00:00:05.670] wifi_set_power = 1
<4>[ 5.686597 / 01-01 00:00:05.670] bcm_wifi_set_power: trying to acquire BT lock
<4>[ 5.686611 / 01-01 00:00:05.670] bcm_wifi_set_power: btlock acquired
<4>[ 5.836669 / 01-01 00:00:05.820] J:bcm_wifi_set_power: applied delay. 150ms
<3>[ 5.836678 / 01-01 00:00:05.820] bcm_wifi_set_power: wifi power successed to pull up
<4>[ 5.836692 / 01-01 00:00:05.820] wifi_set_carddetect = 1
<4>[ 5.836699 / 01-01 00:00:05.820] bcm_wifi_carddetect:There is no callback for notify
<4>[ 7.830109 / 01-01 00:00:07.820] failed to power up wifi chip, retry again (2 left) **
<4>[ 7.846172 / 01-01 00:00:07.830] ## wifi_remove
<4>[ 7.846180 / 01-01 00:00:07.830] wifi_set_power = 0
<4>[ 7.846187 / 01-01 00:00:07.830] bcm_wifi_set_power: trying to acquire BT lock
<4>[ 7.846201 / 01-01 00:00:07.830] bcm_wifi_set_power: btlock acquired
<3>[ 7.946244 / 01-01 00:00:07.930] bcm_wifi_set_power: wifi power successed to pull down
<4>[ 7.946260 / 01-01 00:00:07.930] wifi_set_carddetect = 0
<4>[ 7.946267 / 01-01 00:00:07.930] bcm_wifi_carddetect:There is no callback for notify
<4>[ 7.946587 / 01-01 00:00:07.930] wifi_set_power = 1
<4>[ 7.946594 / 01-01 00:00:07.930] bcm_wifi_set_power: trying to acquire BT lock
<4>[ 7.946608 / 01-01 00:00:07.930] bcm_wifi_set_power: btlock acquired
<4>[ 8.096667 / 01-01 00:00:08.080] J:bcm_wifi_set_power: applied delay. 150ms
<3>[ 8.096675 / 01-01 00:00:08.080] bcm_wifi_set_power: wifi power successed to pull up
<4>[ 8.096690 / 01-01 00:00:08.080] wifi_set_carddetect = 1
<4>[ 8.096697 / 01-01 00:00:08.080] bcm_wifi_carddetect:There is no callback for notify
<4>[ 10.090097 / 01-01 00:00:10.079] failed to power up wifi chip, retry again (1 left) **
<4>[ 10.106161 / 01-01 00:00:10.089] ## wifi_remove
<4>[ 10.106169 / 01-01 00:00:10.089] wifi_set_power = 0
<4>[ 10.106176 / 01-01 00:00:10.089] bcm_wifi_set_power: trying to acquire BT lock
<4>[ 10.106191 / 01-01 00:00:10.089] bcm_wifi_set_power: btlock acquired
<3>[ 10.206235 / 01-01 00:00:10.190] bcm_wifi_set_power: wifi power successed to pull down
<4>[ 10.206251 / 01-01 00:00:10.190] wifi_set_carddetect = 0
<4>[ 10.206258 / 01-01 00:00:10.190] bcm_wifi_carddetect:There is no callback for notify
<4>[ 10.206298 / 01-01 00:00:10.190] failed to power up wifi chip, max retry reached, exits **

the wifi working well in KK:

<6>init_bcm_wifi: wifi_dma_qos is added
<3>bcm_wifi_init_gpio_mem: rev=11, gpio_power=26, gpio_hostwakeup=44
<6>J:bcm_wifi_init_gpio_mem> resource->start = 313
<6>bcm_wifi_init_gpio_mem successfully
<6>J:sdc2_status> g_wifi_detect = 0
<4>wifi_set_power = 1
<3>bcm_wifi_reinit_gpio: rev=11, gpio_power=26, gpio_hostwakeup=44
<6>bcm_wifi_set_power: trying to acquire BT lock
<6>bcm_wifi_set_power: btlock acquired
<6>J:bcm_wifi_set_power: applied delay. 150ms
<3>bcm_wifi_set_power: wifi power successed to pull up
<4>wifi_set_carddetect = 1
<6>J:sdc2_status> g_wifi_detect = 1
<4>wifi_set_power = 0
<6>bcm_wifi_set_power: trying to acquire BT lock
<6>bcm_wifi_set_power: btlock acquired
<3>bcm_wifi_set_power: wifi power successed to pull down