iwlwifi: dnt: make dbgm/log debugfs file continuous

Since the debugfs represents a limited ring buffer,
it makes more sense to use a continuous file (with
block mechanism) rather than using polling.

Using a blocking debugfs mechanism introduce new issues
wrt. op_mode stop (where the relevant data is being
deleted) vs. already opened files. Add additional
waitqueue and counter to synchronize it.

type=feature

Change-Id: I52ae78a1a68cf1053899eb81321e714089b9e9d3
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-on: https://git-amr-3.devtools.intel.com/gerrit/24428
Tested-by: ec ger unix iil jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-by: Grumbach, Emmanuel <emmanuel.grumbach@intel.com>
Reviewed-on: https://git-amr-3.devtools.intel.com/gerrit/26049
x-iwlwifi-stack-dev: 16b0c58d9ee4484bcb9113d3a5f242ea0b6a4053
4 files changed