Lines Matching refs:msg
365 char msg[WCNSS_MAX_CMD_LEN]; in setup_wcnss_parameters() local
382 msg[pos++] = WCNSS_USR_SERIAL_NUM >> BYTE_1; in setup_wcnss_parameters()
383 msg[pos++] = WCNSS_USR_SERIAL_NUM >> BYTE_0; in setup_wcnss_parameters()
384 msg[pos++] = serial_num >> BYTE_3; in setup_wcnss_parameters()
385 msg[pos++] = serial_num >> BYTE_2; in setup_wcnss_parameters()
386 msg[pos++] = serial_num >> BYTE_1; in setup_wcnss_parameters()
387 msg[pos++] = serial_num >> BYTE_0; in setup_wcnss_parameters()
389 if (write(fd, msg, pos) < 0) { in setup_wcnss_parameters()
400 msg[pos++] = WCNSS_USR_WLAN_MAC_ADDR >> BYTE_1; in setup_wcnss_parameters()
401 msg[pos++] = WCNSS_USR_WLAN_MAC_ADDR >> BYTE_0; in setup_wcnss_parameters()
402 msg[pos++] = wlan_nv_mac_addr[0]; in setup_wcnss_parameters()
403 msg[pos++] = wlan_nv_mac_addr[1]; in setup_wcnss_parameters()
404 msg[pos++] = wlan_nv_mac_addr[2]; in setup_wcnss_parameters()
405 msg[pos++] = wlan_nv_mac_addr[3]; in setup_wcnss_parameters()
406 msg[pos++] = wlan_nv_mac_addr[4]; in setup_wcnss_parameters()
407 msg[pos++] = wlan_nv_mac_addr[5]; in setup_wcnss_parameters()
412 if (write(fd, msg, pos) < 0) { in setup_wcnss_parameters()
421 msg[pos++] = WCNSS_USR_HAS_CAL_DATA >> BYTE_1; in setup_wcnss_parameters()
422 msg[pos++] = WCNSS_USR_HAS_CAL_DATA >> BYTE_0; in setup_wcnss_parameters()
438 msg[pos++] = 1; in setup_wcnss_parameters()
440 if (write(fd, msg, pos) < 0) { in setup_wcnss_parameters()
452 msg[pos++] = 0; in setup_wcnss_parameters()
453 if (write(fd, msg, pos) < 0) in setup_wcnss_parameters()