Solution-independent analysis of black hole entropy in brick wall model