[WCNCR00167033] misc: add N9 firmware debug log control

[Description]
 1. Add FW log control feature, needs the corresponding firmware
    ERROR level:        iwpriv wlan0 driver "set_fwlog x x 1"
    WARN level above:   iwpriv wlan0 driver "set_fwlog x x 2"
    STATE level above:  iwpriv wlan0 driver "set_fwlog x x 4"
    INGO level above:   iwpriv wlan0 driver "set_fwlog x x 8"
    LOUD level above:   iwpriv wlan0 driver "set_fwlog x x 16"
 2. Command backward compatibility
    Support original command to enable N9 log to host
    likes "set_fwlog 0 2",
    it is still working after apply this driver change
    and the corresponding firmware.

CR-Id: WCNCR00167033
Feature: misc
Signed-off-by: CP Wang <cp.wang@mediatek.com>
Change-Id: I15aea5c6db553e17aaf9d187327761a7245264e6
5 files changed